forked from chrisanthropic/slim-pickins-jekyll-theme
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhead.html
25 lines (22 loc) · 1.22 KB
/
head.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<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 }} | {{ site.name }}{% else %}{{ site.name }}{% endif %}</title>
{% if site.author %}
<meta name="author" content="{{ site.author }}">
{% endif %}
{% capture description %}{% if page.description %}{{ page.description }}{% elsif site.description %}{{ site.description }}{%else%}{{ content | raw_content }}{% endif %}{% endcapture %}
<meta name="description" content="{{ description | strip_html | condense_spaces | truncate:150 }}">
{% if page.keywords %}
<meta name="keywords" content="{{ page.keywords }}">
{%else%}
<meta name="keywords" content="{{ site.keywords }}">
{% endif %}
<link href="{{ site.github.url }}/css/main.css" media="screen, projection" rel="stylesheet" type="text/css">
<link rel="canonical" href="{{ site.github.url }}{{ page.url }}">
<link href="{{ site.github.url }}/favicon.ico" rel="icon">
<link rel="alternate" type="application/atom+xml" title="{{ site.name }}" href="{{ site.github.url }}/atom.xml"/>
{% include metadata.html %}
{% include google_analytics.html %}
</head>