aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorJieiku2022-06-12 15:46:13 -0700
committerJieiku2022-06-12 15:46:13 -0700
commit5038f39df9af01987b0d7b40c9fe415b80054467 (patch)
treefbe18c88ba546b295a96dbb3a6a8b46efa4df2f1 /templates/index.html
parentfa52eeda3caa552a481a8cd8dc71349af9b67d0a (diff)
downloadabridge-5038f39df9af01987b0d7b40c9fe415b80054467.tar.gz
abridge-5038f39df9af01987b0d7b40c9fe415b80054467.tar.bz2
abridge-5038f39df9af01987b0d7b40c9fe415b80054467.zip
Config.toml Index Title Size, Improve Macros Organization
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html
index 6d3bfe0..422ad22 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -28,10 +28,10 @@
<div>
{%- for page in paginator.pages %}
<article>
- <h1><a href="{{ page.permalink | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">{{ page.title }}</a></h1>
+ {{- macros::title_index(page=page) }}
{%- if config.extra.meta_index.position %}
{%- if config.extra.meta_index.position == "top" or config.extra.meta_index.position == "both" %}
- {{- macros::title_index(page=page) }}
+ {{- macros::meta_index(page=page) }}
{%- endif %}{%- endif %}
<p class="sum">
{%- if page.summary %}
@@ -46,7 +46,7 @@
</p>
{%- if config.extra.meta_index.position %}
{%- if config.extra.meta_index.position == "bottom" or config.extra.meta_index.position == "both" %}
- {{- macros::title_index(page=page) }}
+ {{- macros::meta_index(page=page) }}
{%- endif %}
{%- endif %}
</article>