From 5038f39df9af01987b0d7b40c9fe415b80054467 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Sun, 12 Jun 2022 15:46:13 -0700 Subject: Config.toml Index Title Size, Improve Macros Organization --- templates/page.html | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'templates/page.html') diff --git a/templates/page.html b/templates/page.html index cfea5ea..b0fbf83 100644 --- a/templates/page.html +++ b/templates/page.html @@ -32,9 +32,20 @@ {%- block content %}
-

{{ page.title }}

- {{- macros::title(page=page) }} + {{- macros::title_post(page=page) }} + + {%- if config.extra.meta_post.position %} + {%- if config.extra.meta_post.position == "top" or config.extra.meta_post.position == "both" %} + {{- macros::meta_post(page=page) }} + {%- endif %}{%- endif %} + {{ page.content | safe }} + + {%- if config.extra.meta_post.position %} + {%- if config.extra.meta_post.position == "bottom" or config.extra.meta_post.position == "both" %} + {{- macros::meta_post(page=page) }} + {%- endif %}{%- endif %} + {%- block page_footer %} {{- macros::footer(page=page) }} {%- endblock page_footer %} @@ -63,6 +74,7 @@ {%- endif %} {%- endblock toc %} + {%- endblock content %} {%- block gotop %} -- cgit v1.3.1