From 9e3a440909df4f8eff8201e831860f6b3a0f09d6 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Sun, 26 Nov 2023 13:20:48 +0800 Subject: [PATCH] :wrench: Chore: update default config in `hugo.toml` --- config.toml => hugo.toml | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) rename config.toml => hugo.toml (96%) diff --git a/config.toml b/hugo.toml similarity index 96% rename from config.toml rename to hugo.toml index e5fd0c0a..302be3c9 100644 --- a/config.toml +++ b/hugo.toml @@ -3,6 +3,36 @@ # Modifying this file may result in merge conflict # ===================================================================================== +# ------------------------------------------------------------------------------------- +# Hugo Configuration +# See: https://gohugo.io/getting-started/configuration/ +# ------------------------------------------------------------------------------------- + +# website title +title = "FixIt" +# Hostname (and path) to the root +baseURL = "http://localhost:1313" +# theme list +theme = ["FixIt"] +# determines default content language ["en", "zh-cn", "fr", "pl", ...] +defaultContentLanguage = "en" +# language code ["en", "zh-CN", "fr", "pl", ...] +languageCode = "en" +# language name ["English", "简体中文", "Français", "Polski", ...] +languageName = "English" +# whether to include Chinese/Japanese/Korean +hasCJKLanguage = false +# default amount of posts in each pages +paginate = 12 +# copyright description used only for seo schema +copyright = "" +# whether to use robots.txt +enableRobotsTXT = true +# whether to use git commit log +enableGitInfo = true +# whether to use emoji code +enableEmoji = true + # ------------------------------------------------------------------------------------- # Menu Configuration # See: https://fixit.lruihao.cn/documentation/basics/#menu-configuration @@ -842,7 +872,8 @@ # Modules Configuration # See: https://gohugo.io/hugo-modules/configuration/#module-config-imports # ------------------------------------------------------------------------------------- + [module] [module.hugoVersion] extended = true - min = "0.109.0" + min = "0.110.0"