mirror of
https://github.com/thangisme/notes.git
synced 2024-12-22 13:16:41 -05:00
Merge pull request #294 from moltenc/fix-title
Fix duplicated title and description tags
This commit is contained in:
commit
0680935092
@ -2,13 +2,13 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
|
||||||
|
|
||||||
{% if site.plugins.jekyll-seo == nil %}
|
{% unless site.plugins contains "jekyll-seo-tag" %}
|
||||||
<title>{{ page.title }} - {{ site.title }}</title>
|
<title>{{ page.title }} - {{ site.title }}</title>
|
||||||
|
|
||||||
{% if page.description %}
|
{% if page.description %}
|
||||||
<meta name="Description" content="{{ page.description }}">
|
<meta name="Description" content="{{ page.description }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endunless %}
|
||||||
|
|
||||||
<link rel="shortcut icon" href="{{ 'favicon.ico' | absolute_url }}" type="image/x-icon">
|
<link rel="shortcut icon" href="{{ 'favicon.ico' | absolute_url }}" type="image/x-icon">
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user