diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2015-08-03 20:51:26 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2015-08-03 20:51:26 +0200 |
commit | e4febaac3b3138f2c24432b3eadd613b3677fe2a (patch) | |
tree | c48bbd3e4a3cba0c37acbbc11a573ab9acf88919 /blog/_includes | |
parent | 957eac96d60f75daf55da5a9472d601740e951b3 (diff) | |
download | norsk-urskog-main-e4febaac3b3138f2c24432b3eadd613b3677fe2a.tar.gz norsk-urskog-main-e4febaac3b3138f2c24432b3eadd613b3677fe2a.tar.bz2 norsk-urskog-main-e4febaac3b3138f2c24432b3eadd613b3677fe2a.zip |
Drop unnecessary stuff from head partial and fix baseurl.
Diffstat (limited to 'blog/_includes')
-rw-r--r-- | blog/_includes/head.html | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/blog/_includes/head.html b/blog/_includes/head.html index cd2fa6c..0c79c74 100644 --- a/blog/_includes/head.html +++ b/blog/_includes/head.html @@ -1,13 +1,9 @@ <head> <meta charset="utf-8"> - <meta name="viewport" content="width=device-width initial-scale=1" /> + <meta name="viewport" content="width=device-width initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title> <meta name="description" content="{{ site.description }}"> - - <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="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/default.min.css"> - <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> + <link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl_root }}"> + <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl_root | prepend: site.url }}"> </head> |