From d1deb8486f1f70e5ad44cb65279e52e1ed64ba89 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Tue, 31 May 2022 01:24:13 -0700 Subject: Seo Per Page --- templates/posts.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'templates/posts.html') 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") %}