+ {{ post_macros::page_header(title=page.title) }}
- {% if page.date %}
-
-
- {% if page.extra.tldr %}
-
-
tl;dr:
- {{ page.extra.tldr }}
+ {% if page.updated %}
+
+ Updated on
{% endif %}
+
+ {{ page.word_count }} words, {{ page.reading_time }} minute read
+
+ {% endif %}
+
- {# Optional table of contents #}
- {% if config.extra.toc | default(value=false) %}
- {% if page.toc %}
-
Table of Contents
-
+ {% endif %}
+
+ {% endfor %}
+
+ {% endif %}
+ {% endif %}
-
- {{ page.content | safe }}
-
+
+ {{ page.content | safe }}
+
- {% if page.taxonomies and page.taxonomies.tags %}
-
-
this post is tagged with
-
-
- {% endif %}
-
-
+ {% if page.taxonomies and page.taxonomies.tags %}
+
+
this post is tagged with
+
+
+ {% endif %}
+
{% endmacro content %}
\ No newline at end of file
diff --git a/templates/posts.html b/templates/posts.html
index 1e346a7..128dacb 100644
--- a/templates/posts.html
+++ b/templates/posts.html
@@ -3,7 +3,7 @@
{% block main_content %}
{{ post_macros::page_header(title="blog posts") }}
-
+
{%- if paginator %}
{%- set show_pages = paginator.pages -%}
{% else %}
@@ -12,8 +12,10 @@
{% endif -%}
{{ post_macros::list_posts(pages=show_pages) }}
-
+
+{% endblock main_content %}
+{% block trailing_content %}
{% if paginator %}
{% endif %}
-{% endblock main_content %}
\ No newline at end of file
+{% endblock trailing_content %}
\ No newline at end of file