aboutsummaryrefslogtreecommitdiff
path: root/templates/includes/meta.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/includes/meta.html')
-rw-r--r--templates/includes/meta.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/includes/meta.html b/templates/includes/meta.html
new file mode 100644
index 0000000..8db8747
--- /dev/null
+++ b/templates/includes/meta.html
@@ -0,0 +1,13 @@
+<meta content="IE=edge" http-equiv="X-UA-Compatible" />
+<meta content="width=device-width, initial-scale=1" name="viewport" />
+<meta content="text/html; charset=utf-8" http-equiv="content-type" />
+
+{% if page.description %}
+{% set description = page.description %}
+{% endif %}
+
+{% if section.description %}
+{% set description = section.description %}
+{% endif %}
+
+<meta name="description" content="{{ description | default(value=config.description) | trim | safe }}" /> \ No newline at end of file