Add custom taxonomies for languages

This commit is contained in:
Aditya Telange 2022-04-23 08:05:03 +05:30
parent 34127c9170
commit 4dc6b44956
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
3 changed files with 26 additions and 19 deletions

View File

@ -20,6 +20,10 @@ languages:
en: en:
languageName: "English" languageName: "English"
weight: 1 weight: 1
taxonomies:
category: categories
tag: tags
series: series
menu: menu:
main: main:
- name: Archive - name: Archive
@ -40,6 +44,10 @@ languages:
languageAltTitle: French languageAltTitle: French
weight: 2 weight: 2
title: PaperModL2 title: PaperModL2
taxonomies:
category: FRcategories
tag: FRtags
series: FRseries
profileMode: profileMode:
enabled: true enabled: true
title: PaperMod title: PaperMod
@ -58,14 +66,14 @@ languages:
- name: Archive - name: Archive
url: archives/ url: archives/
weight: 5 weight: 5
- name: Tags - name: FRTags
url: tags url: frtags
weight: 10 weight: 10
- name: Categories - name: FRCategories
url: categories url: frcategories
weight: 10 weight: 10
- name: Series - name: FRSeries
url: series url: frseries
weight: 10 weight: 10
- name: NullLink - name: NullLink
url: "#" url: "#"
@ -81,10 +89,14 @@ languages:
homeInfoParams: homeInfoParams:
Title: "Hi there \U0001F44B" Title: "Hi there \U0001F44B"
Content: Welcome to RTL layout Content: Welcome to RTL layout
taxonomies:
category: FAcategories
tag: FAtags
series: FAseries
menu: menu:
main: main:
- name: Tags - name: FATags
url: tags url: fatags
weight: 10 weight: 10
outputs: outputs:
@ -179,11 +191,6 @@ params:
# minMatchCharLength: 0 # minMatchCharLength: 0
# keys: ["title", "permalink", "summary", "content"] # keys: ["title", "permalink", "summary", "content"]
taxonomies:
category: categories
tag: tags
series: series
markup: markup:
goldmark: goldmark:
renderer: renderer:

View File

@ -3,9 +3,9 @@ author: "Hugo Authors"
title: "Markdown Syntax Guide For RTL" title: "Markdown Syntax Guide For RTL"
date: "2019-03-11" date: "2019-03-11"
description: "Sample article showcasing basic Markdown syntax and formatting for HTML elements." description: "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
tags: ["markdown", "css", "html", "themes"] FAtags: ["markdown", "css", "html", "themes"]
categories: ["themes", "syntax"] FAcategories: ["themes", "syntax"]
series: ["Themes Guide"] FAseries: ["Themes Guide"]
aliases: ["migrate-from-jekyl"] aliases: ["migrate-from-jekyl"]
ShowToc: true ShowToc: true
TocOpen: true TocOpen: true

View File

@ -3,9 +3,9 @@ author: "Hugo Authors"
title: "Markdown Syntax Guide For L2" title: "Markdown Syntax Guide For L2"
date: "2019-03-11" date: "2019-03-11"
description: "Sample article showcasing basic Markdown syntax and formatting for HTML elements." description: "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
tags: ["markdown", "css", "html", "themes"] FRtags: ["markdown", "css", "html", "themes"]
categories: ["themes", "syntax"] FRcategories: ["themes", "syntax"]
series: ["Themes Guide"] FRseries: ["Themes Guide"]
aliases: ["migrate-from-jekyl"] aliases: ["migrate-from-jekyl"]
ShowToc: true ShowToc: true
TocOpen: true TocOpen: true