diff options
Diffstat (limited to 'templates/now.html')
| -rw-r--r-- | templates/now.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/now.html b/templates/now.html new file mode 100644 index 0000000..9eaa6a6 --- /dev/null +++ b/templates/now.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} +{% import "macros.html" as macros %} + +{% block content %} +{% set posts = get_section(path="posts/_index.md") %} +{% set nows = posts.pages | filter(attribute="extra.kind", value="now") %} +{% set latest_now = nows | sort(attribute="date") | last %} + +{{ macros::page_content(page=latest_now) }} +{% endblock %} |
