aboutsummaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-04-24 17:06:55 +0300
committerValentin Popov <info@valentineus.link>2018-04-24 17:06:55 +0300
commitb93cb40f1abd3988a8d003e4810c3847364ddeec (patch)
treeb4b4ee6ff9728ba8f5b4317249e73e696ad8c832 /_includes
parent2d997939179540fa755dc405c24c8df05c9328df (diff)
downloadpopov.link-b93cb40f1abd3988a8d003e4810c3847364ddeec.tar.xz
popov.link-b93cb40f1abd3988a8d003e4810c3847364ddeec.zip
Header file has been updated
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_includes')
-rw-r--r--_includes/head.html19
1 files changed, 8 insertions, 11 deletions
diff --git a/_includes/head.html b/_includes/head.html
index a301dd4..20217ea 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -12,19 +12,12 @@
<meta name="robots" content="index, follow" />
<!-- Title / Description -->
- <meta name="description" content="{{ page.description | default: site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}" />
- <meta name="application-name" content="{{ title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}" />
- <title>
- {% if page.title %}{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }} &middot;{% endif %}
- {{ site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}
- </title>
-
- <!-- Google Fonts -->
- <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Source+Code+Pro|Source+Sans+Pro" />
+ <meta name="description" content="{{ page.description | default: site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | truncate: 100 }}" />
+ <meta name="application-name" content="{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | capitalize }}" />
+ <title>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | truncate: 64 }}</title>
<!-- CSS -->
- <link rel="stylesheet" href="{{ '/assets/css/normalize.css' | relative_url | uri_escape }}" />
- <link rel="stylesheet" href="{{ '/assets/css/highlight.css' | relative_url | uri_escape }}" />
+ <link rel="stylesheet" href="{{ '/assets/css/fonts.css' | relative_url | uri_escape }}" />
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url | uri_escape }}" />
<!-- Favicon -->
@@ -34,4 +27,8 @@
<!-- RSS -->
<link rel="alternate" type="application/atom+xml" title="RSS" href="{{ site.rss | relative_url | uri_escape }}" />
+
+ <!--[if lte IE 9]>
+ <script type="text/javascript" src="{{ '/assets/javascript/html5shiv.min.js' | relative_url | uri_escape }}"></script>
+ <![endif]-->
</head>