1
0
mirror of https://github.com/privacyguides/privacyguides.org.git synced 2025-10-31 03:26:35 +00:00

Compare commits

...

1 Commits

Author SHA1 Message Date
4831bce081 fix: Canonical URL for articles index 2025-10-17 12:05:53 -07:00
2 changed files with 4 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
--- ---
description: Privacy-related news stories, product reviews, opinion pieces, and other important articles from Privacy Guides contributors. 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: hide:
- footer - footer
--- ---

View File

@@ -34,7 +34,9 @@
{% elif config.site_author %} {% elif config.site_author %}
<meta name="author" content="{{ config.site_author }}"> <meta name="author" content="{{ config.site_author }}">
{% endif %} {% endif %}
{% if page.canonical_url %} {% if page.meta and page.meta.canonical_url %}
<link rel="canonical" href="{{ page.meta.canonical_url }}">
{% elif page.canonical_url %}
<link rel="canonical" href="{{ page.canonical_url }}"> <link rel="canonical" href="{{ page.canonical_url }}">
{% endif %} {% endif %}
{% if page.previous_page %} {% if page.previous_page %}