aboutsummaryrefslogtreecommitdiff
path: root/_includes/meta.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/meta.html')
-rw-r--r--_includes/meta.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/_includes/meta.html b/_includes/meta.html
new file mode 100644
index 0000000..a7a0d2c
--- /dev/null
+++ b/_includes/meta.html
@@ -0,0 +1,5 @@
+<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<meta http-equiv="X-UA-Compatible" content="IE=edge" />
+
+{% capture description %}{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}{% endcapture %}
+<meta name="description" content="{{ description }}" />