mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
♿ Perf: hide GitHub Corner in print view
This commit is contained in:
@@ -159,7 +159,8 @@
|
||||
.post-info-more section:last-child,
|
||||
.post-nav,
|
||||
#fixed-buttons,
|
||||
#comments {
|
||||
#comments,
|
||||
.github-corner {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
{{- end -}}
|
||||
|
||||
{{- if .Site.Params.footer.gov | or .Site.Params.footer.icp -}}
|
||||
<div class="footer-line">
|
||||
<div class="footer-line beian">
|
||||
{{- /* GOV */ -}}
|
||||
{{- with .Site.Params.footer.gov -}}
|
||||
<span class="gov">{{ . | safeHTML }}</span>
|
||||
|
||||
Reference in New Issue
Block a user