_includes/head.html in douding-0.1.0 vs _includes/head.html in douding-0.2.0
- old
+ new
@@ -4,14 +4,12 @@
<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 custom_url = site.url | append: site.baseurl %}
- {% assign full_base_url = site.github.url | default: custom_url %}
- <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 }}">
+ <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
{% if jekyll.environment == 'production' and site.google_analytics %}
{% include google-analytics.html %}
{% endif %}
</head>