diff --git a/exampleSite/content/posts/usage/configuration.md b/exampleSite/content/posts/usage/configuration.md index d4d0ca2..c2b3216 100644 --- a/exampleSite/content/posts/usage/configuration.md +++ b/exampleSite/content/posts/usage/configuration.md @@ -124,6 +124,9 @@ enableRobotsTXT = true # bright spots while using the dark mode. geekblogDarkModeDim = false + # (Optional, default true) Display a "Back to top" link in the site footer. + geekblogBackToTop = true + # (Optional, default none) Adds a "Hosted on " line to the footer. # Could be used if you want to give credits to your hosting provider. [params.geekblogHostedOn] @@ -253,6 +256,9 @@ params: # bright spots while using the dark mode. geekblogDarkModeDim: false + # (Optional, default true) Display a "Back to top" link in the site footer. + geekblogBackToTop: true + # (Optional, default none) Adds a "Hosted on " line to the footer. # Could be used if you want to give credits to your hosting provider. geekblogHostedOn: diff --git a/layouts/partials/menu-extra.html b/layouts/partials/menu-extra.html index a9f46b5..9ac5cec 100644 --- a/layouts/partials/menu-extra.html +++ b/layouts/partials/menu-extra.html @@ -14,7 +14,7 @@ {{ $icon := default false .icon }} {{ if eq $target "footer" }} - + {{ if $icon }}{{ end }} diff --git a/layouts/partials/site-footer.html b/layouts/partials/site-footer.html index b037360..e2898af 100644 --- a/layouts/partials/site-footer.html +++ b/layouts/partials/site-footer.html @@ -1,45 +1,56 @@
-
diff --git a/src/iconfont/uEA1F-keyborad_arrow_down.svg b/src/iconfont/uEA1F-keyborad_arrow_down.svg new file mode 100644 index 0000000..91800e5 --- /dev/null +++ b/src/iconfont/uEA1F-keyborad_arrow_down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/iconfont/uEA20-keyborad_arrow_up.svg b/src/iconfont/uEA20-keyborad_arrow_up.svg new file mode 100644 index 0000000..e7bbcf9 --- /dev/null +++ b/src/iconfont/uEA20-keyborad_arrow_up.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/keyborad_arrow_down.svg b/src/icons/keyborad_arrow_down.svg new file mode 100644 index 0000000..d757a4c --- /dev/null +++ b/src/icons/keyborad_arrow_down.svg @@ -0,0 +1,4 @@ + + +keyboard_arrow_down + diff --git a/src/icons/keyborad_arrow_up.svg b/src/icons/keyborad_arrow_up.svg new file mode 100644 index 0000000..cc52e6e --- /dev/null +++ b/src/icons/keyborad_arrow_up.svg @@ -0,0 +1,5 @@ + + +keyboard_arrow_up + + diff --git a/src/sass/_base.scss b/src/sass/_base.scss index 21f7759..0994da3 100644 --- a/src/sass/_base.scss +++ b/src/sass/_base.scss @@ -447,8 +447,19 @@ img { background: $second-color; color: $gray-100; + .fake-link { + background-image: linear-gradient( + var(--footer-link-color), + var(--footer-link-color) + ); + } + &__item { - margin: $padding-8 $padding-8 $padding-8 0; + line-height: 2em; + + &--row { + margin-right: $padding-16; + } } &__link { diff --git a/src/sass/_utils.scss b/src/sass/_utils.scss index 2e4bef3..a383412 100644 --- a/src/sass/_utils.scss +++ b/src/sass/_utils.scss @@ -10,6 +10,10 @@ flex: 1 1 auto; } +.flex-25 { + flex: 1 1 25%; +} + .flex-even { flex: 1 1; } @@ -53,6 +57,10 @@ text-align: center; } +.text-right { + text-align: right; +} + .no-wrap { white-space: nowrap; }