Homepage: Use macro for listing assets

This commit is contained in:
2018-09-11 17:46:09 +02:00
parent c90cd41e23
commit 10f15185e0
3 changed files with 20 additions and 20 deletions

View File

@@ -73,7 +73,7 @@ meta(name="twitter:image", content="{{ page_header_image }}")
hr.pb-2
+card-deck(3)
+card-deck
| {% for project in projects %}
| {% if (project.status == 'published') or (project.status == 'pending' and current_user.is_authenticated) and project._id != config.MAIN_PROJECT_ID %}