Skip to content

How do I set a default language for my site? #253

Answered by welpo
ziyouwa asked this question in Q&A
Discussion options

You must be logged in to vote
base_url = "https://xxx.xx.xx"
title = "中文"
description = "中文"
author = "中文"
generate_feed = true
compile_sass = true
minify_html = true
build_search_index = true

theme = "tabi"

default_language = "zh-Hans"

taxonomies = [{name = "tags", feed = true}]

[search]
...
[link_checker]
internal_level = "warn"

[extra]
...

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ziyouwa
Comment options

You must be logged in to vote
3 replies
@welpo
Comment options

@ziyouwa
Comment options

@welpo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
2 participants
Converted from issue

This discussion was converted from issue #252 on January 11, 2024 10:31.