From 4dc6b449562cc4f8046d22d1f844de2eaa556bba Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 23 Apr 2022 08:05:03 +0530 Subject: [PATCH] Add custom taxonomies for languages --- config.yml | 33 +++++++++++++++++------------ content/posts/markdown-syntax.fa.md | 6 +++--- content/posts/markdown-syntax.fr.md | 6 +++--- 3 files changed, 26 insertions(+), 19 deletions(-) diff --git a/config.yml b/config.yml index 0ad61310..a1d5790b 100644 --- a/config.yml +++ b/config.yml @@ -20,6 +20,10 @@ languages: en: languageName: "English" weight: 1 + taxonomies: + category: categories + tag: tags + series: series menu: main: - name: Archive @@ -40,6 +44,10 @@ languages: languageAltTitle: French weight: 2 title: PaperModL2 + taxonomies: + category: FRcategories + tag: FRtags + series: FRseries profileMode: enabled: true title: PaperMod @@ -58,14 +66,14 @@ languages: - name: Archive url: archives/ weight: 5 - - name: Tags - url: tags + - name: FRTags + url: frtags weight: 10 - - name: Categories - url: categories + - name: FRCategories + url: frcategories weight: 10 - - name: Series - url: series + - name: FRSeries + url: frseries weight: 10 - name: NullLink url: "#" @@ -81,10 +89,14 @@ languages: homeInfoParams: Title: "Hi there \U0001F44B" Content: Welcome to RTL layout + taxonomies: + category: FAcategories + tag: FAtags + series: FAseries menu: main: - - name: Tags - url: tags + - name: FATags + url: fatags weight: 10 outputs: @@ -179,11 +191,6 @@ params: # minMatchCharLength: 0 # keys: ["title", "permalink", "summary", "content"] -taxonomies: - category: categories - tag: tags - series: series - markup: goldmark: renderer: diff --git a/content/posts/markdown-syntax.fa.md b/content/posts/markdown-syntax.fa.md index 5b88b4c2..1e1bd984 100644 --- a/content/posts/markdown-syntax.fa.md +++ b/content/posts/markdown-syntax.fa.md @@ -3,9 +3,9 @@ author: "Hugo Authors" title: "Markdown Syntax Guide For RTL" date: "2019-03-11" description: "Sample article showcasing basic Markdown syntax and formatting for HTML elements." -tags: ["markdown", "css", "html", "themes"] -categories: ["themes", "syntax"] -series: ["Themes Guide"] +FAtags: ["markdown", "css", "html", "themes"] +FAcategories: ["themes", "syntax"] +FAseries: ["Themes Guide"] aliases: ["migrate-from-jekyl"] ShowToc: true TocOpen: true diff --git a/content/posts/markdown-syntax.fr.md b/content/posts/markdown-syntax.fr.md index 5e0d5f8d..d03e15d0 100644 --- a/content/posts/markdown-syntax.fr.md +++ b/content/posts/markdown-syntax.fr.md @@ -3,9 +3,9 @@ author: "Hugo Authors" title: "Markdown Syntax Guide For L2" date: "2019-03-11" description: "Sample article showcasing basic Markdown syntax and formatting for HTML elements." -tags: ["markdown", "css", "html", "themes"] -categories: ["themes", "syntax"] -series: ["Themes Guide"] +FRtags: ["markdown", "css", "html", "themes"] +FRcategories: ["themes", "syntax"] +FRseries: ["Themes Guide"] aliases: ["migrate-from-jekyl"] ShowToc: true TocOpen: true