aboutsummaryrefslogtreecommitdiff
path: root/templates/pages.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/pages.html')
-rw-r--r--templates/pages.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/pages.html b/templates/pages.html
index a9147c7..38dfd7f 100644
--- a/templates/pages.html
+++ b/templates/pages.html
@@ -1,4 +1,29 @@
+{# This Page Shows the 'Pages' (abridge/content/pages) eg: example.com/about/ example.com/privacy/ #}
+
{% 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 %}
<div>
{{ page.content | safe }}