Have page titles include site title
This commit is contained in:
parent
9475d9d984
commit
ea4e7d7468
@ -2,10 +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 %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
|
||||
<title>
|
||||
{% if site.title %}
|
||||
{{ site.title | escape }}
|
||||
{% endif %}
|
||||
{% if page.title %}
|
||||
{% if site.title %}
|
||||
–
|
||||
{% endif %}
|
||||
{{ page.title | escape }}
|
||||
{% endif %}
|
||||
</title>
|
||||
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
|
||||
|
||||
<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 }}">
|
||||
|
||||
Reference in New Issue
Block a user