mirror of
https://github.com/olehomelchenko/olehomelchenko.com.git
synced 2025-12-21 21:22:22 +00:00
add multi-lang
This commit is contained in:
32
hugo.yaml
32
hugo.yaml
@@ -1,25 +1,49 @@
|
|||||||
baseURL: https://olehomelchenko.com/
|
baseURL: https://olehomelchenko.com/
|
||||||
languageCode: uk-ua
|
|
||||||
title: Олег Омельченко
|
title: Олег Омельченко
|
||||||
theme: PaperMod
|
theme: PaperMod
|
||||||
|
|
||||||
params:
|
taxonomies:
|
||||||
|
category: categories
|
||||||
|
tag: tags
|
||||||
|
language: languages
|
||||||
|
|
||||||
|
params:
|
||||||
disableThemeToggle: true
|
disableThemeToggle: true
|
||||||
env: production
|
env: production
|
||||||
|
author: Олег Омельченко
|
||||||
|
|
||||||
|
defaultContentLanguage: uk
|
||||||
|
languages:
|
||||||
|
uk:
|
||||||
|
disabled: false
|
||||||
|
languageCode: uk-UA
|
||||||
|
languageName: Українська
|
||||||
|
title: Олег Омельченко
|
||||||
|
weight: 1
|
||||||
|
en:
|
||||||
|
disabled: false
|
||||||
|
languageCode: en-US
|
||||||
|
languageName: English
|
||||||
|
params:
|
||||||
|
author: Oleh Omelchenko
|
||||||
|
title: Oleh Omelchenko
|
||||||
|
weight: 2
|
||||||
|
|
||||||
menu:
|
menu:
|
||||||
main:
|
main:
|
||||||
- identifier: posts
|
- identifier: posts
|
||||||
name: posts
|
name: posts
|
||||||
url: /posts/
|
url: /posts/
|
||||||
weight: 5
|
weight: 50
|
||||||
- identifier: tils
|
- identifier: tils
|
||||||
name: TILs
|
name: TILs
|
||||||
url: /til/
|
url: /til/
|
||||||
weight: 10
|
weight: 10
|
||||||
|
- identifier: categories
|
||||||
|
name: Categories
|
||||||
|
url: /categories/
|
||||||
|
weight: 10
|
||||||
- identifier: tags
|
- identifier: tags
|
||||||
name: tags
|
name: tags
|
||||||
url: /tags/
|
url: /tags/
|
||||||
weight: 20
|
weight: 20
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user