aboutsummaryrefslogtreecommitdiff
path: root/templates/posts.html
diff options
context:
space:
mode:
authorJieiku2022-05-31 01:24:13 -0700
committerJieiku2022-05-31 01:24:13 -0700
commitd1deb8486f1f70e5ad44cb65279e52e1ed64ba89 (patch)
treed8b39996de28b4ec3273f05da22c6b3e8fb57c61 /templates/posts.html
parent0199ea6e9b76541e89b4e2749848bdb1c39d42aa (diff)
downloadabridge-d1deb8486f1f70e5ad44cb65279e52e1ed64ba89.tar.gz
abridge-d1deb8486f1f70e5ad44cb65279e52e1ed64ba89.tar.bz2
abridge-d1deb8486f1f70e5ad44cb65279e52e1ed64ba89.zip
Seo Per Page
Diffstat (limited to 'templates/posts.html')
-rw-r--r--templates/posts.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/posts.html b/templates/posts.html
index 3d4184d..bd5d0d8 100644
--- a/templates/posts.html
+++ b/templates/posts.html
@@ -1,4 +1,22 @@
+{# This Page Shows the Posts Grouped by Year: example.com/posts/ #}
+
{% extends "base.html" %}
+
+{%- block seo %}
+ {{- super() }}
+ {%- set title = "Posts" %}
+
+ {%- if config.title %}
+ {%- set title_addition = title_separator ~ config.title %}
+ {%- else %}
+ {%- set title_addition = "" %}
+ {%- endif %}
+
+ {%- set description = config.description %}
+
+ {{- macros_head::seo(title=title, title_addition=title_addition, description=description, is_home=true) }}
+{%- endblock seo %}
+
{%- block content %}
{%- set section_item = get_section(path="_index.md") %}
<div>