1
0
mirror of https://github.com/privacyguides/privacyguides.org.git synced 2025-11-09 15:57:58 +00:00

fix: Canonical URL for articles index (#3154)

Signed-off-by: fria <fria@privacyguides.org>
Signed-off-by: redoomed1 <redoomed1@privacyguides.org>
Signed-off-by: Daniel Gray <dngray@privacyguides.org>
This commit is contained in:
2025-11-08 17:41:20 +00:00
committed by Daniel Gray
parent 100db6c823
commit 0cc8ce0beb
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.
canonical_url: https://www.privacyguides.org/posts/tag/articles/
hide:
- footer
---

View File

@@ -34,7 +34,9 @@
{% elif config.site_author %}
<meta name="author" content="{{ config.site_author }}">
{% 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 }}">
{% endif %}
{% if page.previous_page %}