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/contact.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'templates/contact.html') diff --git a/templates/contact.html b/templates/contact.html index 7304551..eabb00f 100644 --- a/templates/contact.html +++ b/templates/contact.html @@ -1,5 +1,29 @@ +{# This Page Shows the contact page eg: example.com/contact/ #} + {% extends "base.html" %} +{%- block seo %} + {{- super() }} + {%- set title_addition = "" %} + + {%- if page.title and config.title %} + {%- set title = page.title %} + {%- set title_addition = title_separator ~ config.title %} + {%- elif page.title %} + {%- set title = page.title %} + {%- else %} + {%- set title = config.title %} + {%- endif %} + + {%- if page.description %} + {%- set description = page.description %} + {%- else %} + {%- set description = config.description %} + {%- endif %} + + {{- macros_head::seo(title=title, title_addition=title_addition, description=description) }} +{%- endblock seo %} + {%- block content %}

Want to get in touch? Fill out the form below to send me a message and I will get back to you as soon as possible!

-- cgit v1.3.1