Point at the correct domain in production
This commit is contained in:
parent
5178802725
commit
e804a8f0cc
1 changed files with 20 additions and 0 deletions
20
_includes/head.html
Normal file
20
_includes/head.html
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
<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 | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
|
||||||
|
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
|
||||||
|
|
||||||
|
{% assign full_base_url = '' %}
|
||||||
|
{% if jekyll.environment == 'production' %}
|
||||||
|
{% assign full_base_url = site.url | append: site.baseurl %}
|
||||||
|
{% endif %}
|
||||||
|
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: full_base_url }}">
|
||||||
|
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: full_base_url }}">
|
||||||
|
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | prepend: full_base_url }}">
|
||||||
|
|
||||||
|
{% if jekyll.environment == 'production' and site.google_analytics %}
|
||||||
|
{% include google-analytics.html %}
|
||||||
|
{% endif %}
|
||||||
|
</head>
|
Loading…
Reference in a new issue