aboutsummaryrefslogtreecommitdiffstats
path: root/_includes/head.html
diff options
context:
space:
mode:
authorKonsta 'sooda' Hölttä <sooda@iki.fi>2017-05-27 14:49:38 +0300
committerKonsta 'sooda' Hölttä <sooda@iki.fi>2017-05-27 14:49:38 +0300
commit1cee24fe2365b4a41fe6735446c8066be559f019 (patch)
tree273d37368b537d4e0be02eb40b47b6913da1232f /_includes/head.html
initial commit: ripoff from gt-web
there's still a bunch of useless css things but norri will deal with it
Diffstat (limited to '_includes/head.html')
-rw-r--r--_includes/head.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/_includes/head.html b/_includes/head.html
new file mode 100644
index 0000000..f62ab63
--- /dev/null
+++ b/_includes/head.html
@@ -0,0 +1,11 @@
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
+ <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
+ <link rel="icon" type="image/png" href="/favicon.png" />
+ <link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
+</head>