- Name : YinYang V2
- Based : YinYang Theme
- Demo V2 : Demo
- Minimalist dark colors, using the color palette from Github Dark Theme
- Now comment platform using utteranc.es
- Display optimization for smaller screens ( Responsive )
- Added FiraCode font for Syntax Highlighter
From the root of your site:
git clone https://github.com/bucin-kode/hugo-theme-yinyangv2.git themes/yinyangv2
Change config.toml
:
theme = "yinyangv2"
Set your main section:
[params]
mainSections = ["posts"]
[languages]
[languages.en]
contentDir = "content/en"
languageName = "English"
weight = 1
[languages.cn]
contentDir = "content/cn"
languageName = "Chinese"
weight = 2
[languages.id]
contentDir = "content/id"
languageName = "Indonesia"
weight = 3
Then your posts files should be put into content/en
, content/cn
or content/id
for Indonesian language.
See a more complete configuration in the yinyang base repository Here!