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:
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:

View file

@ -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

View file

@ -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