Skip to content

Commit

Permalink
Add canonical link to post page
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgubaidullin committed Dec 5, 2024
1 parent eb63924 commit f6bd610
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _includes/themes/ploeh/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<title>{{ page.title }}</title>
{% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %}
<meta name="author" content="{{ site.author.name }}">
{% if page.layout == "post" %}<link rel="canonical" href="{{ site.production_url | default: site.url }}{{ page.url }}">{% endif %}

<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
Expand Down

0 comments on commit f6bd610

Please sign in to comment.