diff --git a/assets/css/_core/_media.scss b/assets/css/_core/_media.scss index 23ce0c8a..d0d3f6b0 100644 --- a/assets/css/_core/_media.scss +++ b/assets/css/_core/_media.scss @@ -159,7 +159,8 @@ .post-info-more section:last-child, .post-nav, #fixed-buttons, - #comments { + #comments, + .github-corner { display: none !important; } } diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 84f997ce..ed38ecb3 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1104,8 +1104,8 @@ enableEmoji = true # "assets/js/_custom.js" [params.customJS] enable = true - # GitHub banner in the top-right corner since v0.2.14 - # 在顶部右侧显示 GitHub 开源链接 since v0.2.14 + # GitHub banner in the top-right or top-left corner since v0.2.14 + # 在左上角或者右上角显示 GitHub 开源链接 since v0.2.14 [params.githubCorner] enable = true permalink = "https://github.com/Lruihao/FixIt" diff --git a/exampleSite/content/posts/theme-documentation-basics/index.en.md b/exampleSite/content/posts/theme-documentation-basics/index.en.md index 17696ea9..56d7aff1 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.en.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.en.md @@ -503,7 +503,7 @@ Please open the code block below to view the complete sample configuration :(far [params.page.edit] enable = false # url = "https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name" # Link for fork & edit - url = "https://github.com/Lruihao/FixIt/edit/master/exampleSite/content" # Link for fork & edit + url = "" # Link for fork & edit # {{< version 0.2.0 >}} {{< link "https://docs.mapbox.com/mapbox-gl-js" "Mapbox GL JS" >}} config (https://docs.mapbox.com/mapbox-gl-js) [params.page.mapbox] # access token of Mapbox GL JS @@ -720,7 +720,7 @@ Please open the code block below to view the complete sample configuration :(far enablePost = false # {{< version 0.2.14 changed >}} {{< version 0.2.15 deleted >}} Site creation time # The parameter `ibruce.siteTime` is deprecated since v0.2.14, use `footer.siteTime` instead - siteTime = '' # e.g. '2019-02-03T19:30:34+08:00' + # siteTime = '' # e.g. '2019-02-03T19:30:34+08:00' # Site verification code config for Google/Bing/Yandex/Pinterest/Baidu/360/Sogou [params.verification] @@ -784,7 +784,7 @@ Please open the code block below to view the complete sample configuration :(far # "assets/js/_custom.js" [params.customJS] enable = true - # {{< version 0.2.14 >}} GitHub banner in the top-right corner + # {{< version 0.2.14 >}} GitHub banner in the top-right or top-left corner [params.githubCorner] enable = false permalink = "https://github.com/Lruihao/FixIt" diff --git a/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md index 9dd85cd6..0b7b3461 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md @@ -500,7 +500,7 @@ hugo [params.page.edit] enable = false # url = "https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name" # Link for fork & edit - url = "https://github.com/Lruihao/FixIt/edit/master/exampleSite/content" # Link for fork & edit + url = "" # Link for fork & edit # {{< version 0.2.0 changed >}} {{< link "https://katex.org/" KaTeX >}} 数学公式 (https://katex.org) [params.page.math] enable = true @@ -793,7 +793,7 @@ hugo # "assets/js/_custom.js" [params.customJS] enable = true - # {{< version 0.2.14 >}} 在顶部右侧显示 GitHub 开源链接 + # {{< version 0.2.14 >}} 在左上角或者右上角显示 GitHub 开源链接 [params.githubCorner] enable = false permalink = "https://github.com/Lruihao/FixIt" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 66140627..b3b44ccb 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -79,7 +79,7 @@ {{- end -}} {{- if .Site.Params.footer.gov | or .Site.Params.footer.icp -}} -