You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
730 B
Plaintext
21 lines
730 B
Plaintext
#dash-recent
|
|
#recent-list
|
|
.recent-header
|
|
h3 Recent
|
|
.index-menu
|
|
a(href='/@/dashboard/posts/list') View Posts
|
|
| .
|
|
a(href='/@/dashboard/posts/add/new') Create Post
|
|
br
|
|
- var index = 0;
|
|
- 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++)
|
|
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
|
|
|