summaryrefslogtreecommitdiffstats
path: root/templates_gmi/now.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates_gmi/now.html')
-rw-r--r--templates_gmi/now.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/templates_gmi/now.html b/templates_gmi/now.html
index 3062054..63e9441 100644
--- a/templates_gmi/now.html
+++ b/templates_gmi/now.html
@@ -1,10 +1,9 @@
{% 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 %}
-
+{% 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 %}