Add top photo to Nepal post

This commit is contained in:
Wesley Moore 2014-12-18 22:44:01 +11:00
parent bb6255e4c7
commit ea53da4fee
3 changed files with 8 additions and 6 deletions

12
Rules
View file

@ -16,6 +16,12 @@ compile %r{/(?:technical|personal|)articles/(page/|)} do
filter :rubypants filter :rubypants
end end
compile %r(/(?:about|nepal)/$) do
filter :rdiscount
layout 'topphoto'
filter :rubypants
end
compile %r(/\d{4}/.*) do compile %r(/\d{4}/.*) do
filter :rdiscount filter :rdiscount
layout 'article' layout 'article'
@ -23,12 +29,6 @@ compile %r(/\d{4}/.*) do
filter :rubypants filter :rubypants
end end
compile %r(/about/.*) do
filter :rdiscount
layout 'topphoto'
filter :rubypants
end
compile %r{.*/feed/} do compile %r{.*/feed/} do
filter :erb filter :erb
end end

View file

@ -9,4 +9,6 @@ keywords:
- photos - photos
- nepal - nepal
- trekking - trekking
photo: /images/2014/12/Sunset-In-Tengboche.jpg
photo_alt: Sunset in Tengboche
short_url: http://j.mp/1yKWhtv short_url: http://j.mp/1yKWhtv

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB