Only activated entries

This commit is contained in:
2019-04-13 11:02:38 +02:00
parent 71b1264f29
commit d183cdef9b
2 changed files with 5 additions and 4 deletions
+5 -4
View File
@@ -8,7 +8,8 @@ block content
section#items
each val, index in items
a.item(href='/article/show/' + val.identifier)
title #{val.title}
img.preview(src=val.previewfile)
intro #{val.intro}
if val.active
a.item(href='/article/show/' + val.identifier)
title #{val.title}
img.preview(src=val.previewfile)
intro #{val.intro}