_includes/head.html in no-style-please-0.3.1 vs _includes/head.html in no-style-please-0.4.0
- old
+ new
@@ -2,18 +2,18 @@
<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 %}
+ {%- if page.title -%}
{{ page.title }}
- {% else %}
+ {%- else -%}
{{ site.title }}
- {% endif %}
+ {%- endif -%}
</title>
{% seo title=false %}
{% feed_meta %}
- <link rel="shortcut icon" type="image/x-icon" href="/{{ site.favicon }}" />
- <link rel="stylesheet" href="{{ site.url }}/assets/css/main.css" />
+ <link rel="shortcut icon" type="image/x-icon" href="{{ site.favicon | relative_url }}" />
+ <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}" />
</head>
\ No newline at end of file