Skip to content

Commit

Permalink
feat: add canonical link for seo
Browse files Browse the repository at this point in the history
  • Loading branch information
mahiarirani committed Oct 22, 2023
1 parent 7df53f2 commit 320a706
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/_layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ eleventyComputed:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title }}{{ " | " + subtitle if subtitle }}</title>
<!-- SEO -->
<link rel="canonical" href="{{ site.url }}{{ page.url | url }}">
<meta name="description" content="{{ site.description }}">
<meta name="author" content="{{ site.author }}">
<meta name="keywords" content="{{ site.keywords | join(', ')}}, {{ keywords | join(', ') if keywords }}{{ post.data.tags | join(', ') if post }}">
Expand Down

0 comments on commit 320a706

Please sign in to comment.