forked from projects/fipamo
28 lines
733 B
Text
28 lines
733 B
Text
extends frame
|
|
|
|
block main-content
|
|
article
|
|
.index
|
|
h2= title
|
|
p !{content}
|
|
section
|
|
.index-lists
|
|
.recent
|
|
span Recent
|
|
br
|
|
- if(recent_posts)
|
|
- var index = 0;
|
|
- for ( index; index < recent_posts.length; index++)
|
|
a(href="/"+recent_posts[index].path+"/"+recent_posts[index].slug)= recent_posts[index].title
|
|
br
|
|
- if(featured_posts)
|
|
.featured
|
|
span Featured
|
|
br
|
|
- var index = 0;
|
|
- for ( index; index < featured_posts.length; index++)
|
|
a(href="/"+featured_posts[index].metadata.path+"/"+featured_posts[index].metadata.slug)= featured_posts[index].metadata.title
|
|
br
|
|
|
|
|