diff options
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/head.html | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/_includes/head.html b/_includes/head.html index d43c770..3354d17 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,6 +1,6 @@ <head> <!-- Meta tags --> - <link rel="canonical" href="{{ site.url | absolute_url }}" /> + <link rel="canonical" href="{{ site.url | absolute_url | uri_escape }}" /> <link rel="profile" href="http://gmpg.org/xfn/11" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> @@ -8,9 +8,10 @@ <title> {% if page.title == "index" %} - {{ site.title }} + {{ site.title | smartify | strip_html | strip | normalize_whitespace }} {% else %} - {{ page.title }} · {{ site.title }} + {{ page.title | smartify | strip_html | strip | normalize_whitespace }} · + {{ site.title | smartify | strip_html | strip | normalize_whitespace }} {% endif %} </title> @@ -24,15 +25,15 @@ <link rel="stylesheet" href="//fonts.googleapis.com/css?family=PT+Sans" /> <!-- CSS --> - <link rel="stylesheet" href="{{ "/assets/css/poole.css" | relative_url }}" /> - <link rel="stylesheet" href="{{ "/assets/css/syntax.css" | relative_url }}" /> - <link rel="stylesheet" href="{{ "/assets/css/hyde.css" | relative_url }}" /> + <link rel="stylesheet" href="{{ "/assets/css/poole.css" | relative_url | uri_escape }}" /> + <link rel="stylesheet" href="{{ "/assets/css/syntax.css" | relative_url | uri_escape }}" /> + <link rel="stylesheet" href="{{ "/assets/css/hyde.css" | relative_url | uri_escape }}" /> <!-- Favicon --> - <link rel="apple-touch-icon" sizes="180x180" href="{{ "/assets/apple-touch-icon.png" | relative_url }}" /> - <link rel="icon" type="image/png" sizes="16x16" href="{{ "/assets/favicon-16x16.png" | relative_url }}" /> - <link rel="icon" type="image/png" sizes="32x32" href="{{ "/assets/favicon-32x32.png" | relative_url }}" /> + <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 }}" /> <!-- RSS --> - <link rel="alternate" type="application/atom+xml" title="RSS" href="{{ site.rss | relative_url }}" /> + <link rel="alternate" type="application/atom+xml" title="RSS" href="{{ site.rss | relative_url | uri_escape }}" /> </head> |