Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
Another fix for canonical
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Jan 8, 2019
1 parent 0ada8c6 commit 4d2c30b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/head.html
Expand Up @@ -4,7 +4,7 @@
<meta name="description" content="{{ site.app.description }}">
<meta name="author" content="{{ site.app.author }}">
<meta name="generator" content="">
<link href="{{ page.url | replace:'index.html','' | prepend: site.url }}" rel="canonical">
<link href="{{ site.url }}{{ page.url | replace: '.html', '' }}" rel="canonical">

<title>{% if page.title %}{{ page.title }}{% else %}{{ site.app.title }}{% endif %}</title>

Expand Down

0 comments on commit 4d2c30b

Please sign in to comment.