2018-10-31 17:00:31 +01:00
#dash-recent
2019-02-22 02:19:13 +01:00
#recent-list
2019-02-21 17:35:44 +01:00
.recent-header
h3 Recent
.index-menu
2019-03-02 03:51:35 +01:00
a(href='/@/dashboard/posts/list') View Posts
2019-02-21 17:35:44 +01:00
| .
a(href='/@/dashboard/posts/add/new') Create Post
br
2019-01-31 18:36:59 +01:00
- var index = 0;
2019-09-27 06:23:05 +02:00
- var cap = 5; // number of posts to display, get rid of this and put it in the config
if(items.lenth == 0)
label this is empty
else
- for ( index; index < items.length; index++)
2019-03-03 17:49:03 +01:00
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