From 9a64d9579d6aee28825f657959cc101068ead034 Mon Sep 17 00:00:00 2001 From: zcl Date: Thu, 11 Jan 2024 01:42:16 +0800 Subject: [PATCH] Add hreflang Tag to Translation Link example --- content/en/methods/page/AllTranslations.md | 15 ++++++++------- content/en/methods/page/Translations.md | 11 ++++++----- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/content/en/methods/page/AllTranslations.md b/content/en/methods/page/AllTranslations.md index b9c156127..b8cc65179 100644 --- a/content/en/methods/page/AllTranslations.md +++ b/content/en/methods/page/AllTranslations.md @@ -63,8 +63,9 @@ And this template: {{ with .AllTranslations }} {{ end }} @@ -74,9 +75,9 @@ Hugo will render this list on the "Book 1" page of each site: ```html ``` @@ -84,7 +85,7 @@ On the "Book 2" page of the English and German sites, Hugo will render this: ```html ``` diff --git a/content/en/methods/page/Translations.md b/content/en/methods/page/Translations.md index 7aaee75ab..1ed256630 100644 --- a/content/en/methods/page/Translations.md +++ b/content/en/methods/page/Translations.md @@ -63,8 +63,9 @@ And this template: {{ with .Translations }} {{ end }} @@ -74,8 +75,8 @@ Hugo will render this list on the "Book 1" page of the English site: ```html ``` @@ -83,6 +84,6 @@ Hugo will render this list on the "Book 2" page of the English site: ```html ```