2019-11-22 07:36:18 +01:00
#dash-recent
#recent-list
.recent-header
h3 Recent
.index-menu
2019-11-25 22:58:34 +01:00
a(href='/@/dashboard/page/list') View Pages
2019-11-22 07:36:18 +01:00
| .
2019-11-25 22:58:34 +01:00
a(href='/@/dashboard/page/add/new') Create Page
2019-11-22 07:36:18 +01:00
br
- var index = 0;
- var cap = 5; // number of posts to display, get rid of this and put it in the config
if(pages.length == 0)
label this is empty
else
- for ( index; index < pages.length; index++)
2020-06-05 04:50:08 +02:00
a.post-link(href="/@/dashboard/page/edit/"+pages[index].page.metadata.uuid id=pages[index].page.metadata.uuid style="background:url("+pages[index].page.metadata.feature+") no-repeat center center / cover")
2019-11-22 07:36:18 +01:00
div
2020-06-25 07:30:46 +02:00
2020-06-25 04:32:19 +02:00
label= pages[index].page.metadata.title
#options
- var menu = String(pages[index].page.metadata.menu)
- var published = String(pages[index].page.metadata.published)
- var featured = String(pages[index].page.metadata.featured)
span.item-options(data-active=menu) MENU ITEM
span.item-options(data-active=published) PUBLISHED
span.item-options(data-active=featured) FEATURED
2020-06-25 07:30:46 +02:00
span= pages[index].date
2019-11-22 07:36:18 +01:00