fipamo/themes/dash/partials/front.pug

19 lines
629 B
Text
Raw Normal View History

2018-10-31 17:00:31 +01:00
#dash-recent
#recent-list
.recent-header
h3 Recent
.index-menu
a(href='/@/dashboard/posts') View Posts
| .
a(href='/@/dashboard/posts/add/new') Create Post
br
2019-01-31 18:36:59 +01:00
- var index = 0;
- var cap = 5; // number of posts to display
2019-01-31 18:36:59 +01:00
- for ( index; index < cap; index++)
a.post-link(href="/@/dashboard/posts/edit/"+items[index].post.uuid id=items[index].post.uuid style="background:url("+items[index].post.feature.substr(8)+") no-repeat center center / cover")
div
label= items[index].post.title
span= items[index].post.created
2018-10-31 17:00:31 +01:00