From 7affd65bba8440cb9fb716d39abefe06a3de6bf4 Mon Sep 17 00:00:00 2001 From: Dillon Date: Wed, 29 Apr 2020 15:11:33 +0800 Subject: [PATCH] chore(docs): update docs (#281) --- .../posts/theme-documentation-basics.en.md | 10 ++++++++++ .../posts/theme-documentation-basics.fr.md | 10 ++++++++++ .../posts/theme-documentation-basics.zh-cn.md | 16 +++++++++++++--- 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/exampleSite/content/posts/theme-documentation-basics.en.md b/exampleSite/content/posts/theme-documentation-basics.en.md index 0584e26..170b547 100644 --- a/exampleSite/content/posts/theme-documentation-basics.en.md +++ b/exampleSite/content/posts/theme-documentation-basics.en.md @@ -240,6 +240,16 @@ Please open the code block below to view the complete sample configuration :(far desktopMode = "fixed" # mobile header mode ("fixed", "normal", "auto") mobileMode = "auto" + # {{< version 0.2.0 >}} Header title config + [params.header.title] + # URL of the LOGO + logo = "" + # title name + name = "" + # you can add extra information before the name (HTML format is supported), such as icons + pre = "" + # you can add extra information after the name (HTML format is supported), such as icons + post = "" # Footer config [params.footer] diff --git a/exampleSite/content/posts/theme-documentation-basics.fr.md b/exampleSite/content/posts/theme-documentation-basics.fr.md index c42ec42..e4bccee 100644 --- a/exampleSite/content/posts/theme-documentation-basics.fr.md +++ b/exampleSite/content/posts/theme-documentation-basics.fr.md @@ -245,6 +245,16 @@ Please open the code block below to view the complete sample configuration :(far desktopMode = "fixed" # mobile header mode ("fixed", "normal", "auto") mobileMode = "auto" + # {{< version 0.2.0 >}} Header title config + [params.header.title] + # URL of the LOGO + logo = "" + # title name + name = "" + # you can add extra information before the name (HTML format is supported), such as icons + pre = "" + # you can add extra information after the name (HTML format is supported), such as icons + post = "" # Footer config [params.footer] diff --git a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md index fdaf744..1896f47 100644 --- a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md @@ -243,6 +243,16 @@ hugo desktopMode = "fixed" # 移动端导航栏模式 ("fixed", "normal", "auto") mobileMode = "auto" + # {{< version 0.2.0 >}} 页面头部导航栏标题配置 + [params.header.title] + # LOGO 的 URL + logo = "" + # 标题名称 + name = "" + # 你可以在名称 (允许 HTML 格式) 之前添加其他信息, 例如图标 + pre = "" + # 你可以在名称 (允许 HTML 格式) 之后添加其他信息, 例如图标 + post = "" # 页面底部信息配置 [params.footer] @@ -383,7 +393,7 @@ hugo # {{< version 0.2.0 >}} 是否使用 twemoji twemoji = false # 是否使用 lightgallery - lightgallery = true + lightgallery = false # {{< version 0.2.0 >}} 是否使用 ruby 扩展语法 ruby = true # {{< version 0.2.0 >}} 是否使用 fraction 扩展语法 @@ -485,11 +495,11 @@ hugo enable = false appId = "" appKey = "" - placeholder = "Your comment ..." + placeholder = "" avatar = "mp" meta= "" pageSize = 10 - lang = "en" + lang = "" visitor = true recordIP = true highlight = true