diff options
| author | Jieiku | 2022-06-12 15:46:13 -0700 |
|---|---|---|
| committer | Jieiku | 2022-06-12 15:46:13 -0700 |
| commit | 5038f39df9af01987b0d7b40c9fe415b80054467 (patch) | |
| tree | fbe18c88ba546b295a96dbb3a6a8b46efa4df2f1 /templates/page.html | |
| parent | fa52eeda3caa552a481a8cd8dc71349af9b67d0a (diff) | |
| download | abridge-5038f39df9af01987b0d7b40c9fe415b80054467.tar.gz abridge-5038f39df9af01987b0d7b40c9fe415b80054467.tar.bz2 abridge-5038f39df9af01987b0d7b40c9fe415b80054467.zip | |
Config.toml Index Title Size, Improve Macros Organization
Diffstat (limited to 'templates/page.html')
| -rw-r--r-- | templates/page.html | 16 |
1 files changed, 14 insertions, 2 deletions
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 %} <article> - <h1><a href="{{ page.permalink | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">{{ page.title }}</a></h1> - {{- 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 @@ </div> {%- endif %} {%- endblock toc %} + {%- endblock content %} {%- block gotop %} |
