nicer canonical index pages
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
<meta name="keywords" content="{{ page.tags|join(' ') }}" />
|
||||
{% endif %}
|
||||
|
||||
<link href="http://dpb587.me{% if page.url != '/index.html' %}{{ page.url }}{% endif %}" rel="canonical" />
|
||||
<link href="http://dpb587.me{{ page.url|replace:'/index.html','/' }}" rel="canonical" />
|
||||
<meta property="og:title" content="{% if page.title == 'Home' %}Danny Berger{% else %}{{ page.title }}{% endif %}" />
|
||||
<meta property="og:url" content="http://dpb587.me{% if page.url != '/index.html' %}{{ page.url }}{% endif %}?utm_campaign=ref&utm_medium=def&utm_source=opengraph" />
|
||||
<meta property="twitter:url" content="http://dpb587.me{% if page.url != '/index.html' %}{{ page.url }}{% endif %}?utm_campaign=ref&utm_medium=def&utm_source=twitter" />
|
||||
|
||||
Reference in New Issue
Block a user