diff --git a/blog/index.md b/blog/index.md index 3441e732fd..94ec615480 100644 --- a/blog/index.md +++ b/blog/index.md @@ -1,5 +1,6 @@ --- description: Privacy-related news stories, product reviews, opinion pieces, and other important articles from Privacy Guides contributors. +canonical_url: https://www.privacyguides.org/posts/tag/articles/ hide: - footer --- diff --git a/theme/main.html b/theme/main.html index 3e04be7250..785fb529f4 100644 --- a/theme/main.html +++ b/theme/main.html @@ -34,7 +34,9 @@ {% elif config.site_author %} {% endif %} - {% if page.canonical_url %} + {% if page.meta and page.meta.canonical_url %} + + {% elif page.canonical_url %} {% endif %} {% if page.previous_page %}