diff options
author | Valentin Popov <info@valentineus.link> | 2018-05-31 01:53:29 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-05-31 01:53:29 +0300 |
commit | 89ddf11787bbe7563dd9af9232ecdd39c5528483 (patch) | |
tree | 77d3ccb4be275efed0d5a1c5522d0180b7dcfdc2 /_includes | |
parent | 52e0d6c149612d5604ed1c606e8a027471b09e66 (diff) | |
download | obs-somafm_current_track-89ddf11787bbe7563dd9af9232ecdd39c5528483.tar.xz obs-somafm_current_track-89ddf11787bbe7563dd9af9232ecdd39c5528483.zip |
Page title
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/head.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/_includes/head.html b/_includes/head.html new file mode 100644 index 0000000..ca9b0dc --- /dev/null +++ b/_includes/head.html @@ -0,0 +1,26 @@ +<head> + <!-- Meta tags --> + <meta name="viewport" content="initial-scale=1.0, maximum-scale=1, shrink-to-fit=no, width=device-width" /> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> + <link rel="canonical" href="{{ page.url | absolute_url | uri_escape }}" /> + <link rel="profile" href="http://gmpg.org/xfn/11" /> + + <!-- Advanced meta tags --> + {% for tag in site.data.meta_tags %} + <meta name="{{ tag.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}" + content="{{ tag.content | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}" /> + {% endfor %} + + <!-- Title / Description --> + <meta name="description" content="{{ page.description | default: site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | truncate: 100 | xml_escape }}" /> + <title>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | truncate: 64 | xml_escape }}</title> + + <!-- CSS --> + <link rel="stylesheet" href="{{ '/assets/css/styles.css' | relative_url | uri_escape }}" /> + + <!-- Favicon --> + <link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/apple-touch-icon.png' | relative_url | uri_escape }}" /> + <link rel="icon" type="image/png" sizes="16x16" href="{{ '/assets/favicon-16x16.png' | relative_url | uri_escape }}" /> + <link rel="icon" type="image/png" sizes="32x32" href="{{ '/assets/favicon-32x32.png' | relative_url | uri_escape }}" /> +</head> |