Skip to content

Commit 5efcdcc

Browse files
author
Akash.S
committed
adding canonical urls
1 parent 14380b5 commit 5efcdcc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

_includes/default.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
{% if page.description %}
77
<meta name="description" content="{{ page.description }}">
88
{% endif %}
9+
10+
{% if page.canonical_url %}
11+
<link rel="canonical" href="{{ site.domain_url }}/{{ page.canonical_url }}" />
12+
{% endif %}
913
<meta name="author" content="{{ site.author.name }}">
1014

1115
<!-- Enable responsive viewport -->
@@ -31,6 +35,8 @@
3135
-->
3236

3337
<link rel="alternate" type="application/rss+xml" title="{{ site.name }}" href="{{ site.BASE_PATH }}/feed.xml">
38+
39+
{% seo %}
3440
</head>
3541

3642
<body>

0 commit comments

Comments
 (0)