From b7a9e2a87847fdfe4e8311e7e44b07c495a9e189 Mon Sep 17 00:00:00 2001 From: Ben Cuan Date: Tue, 3 Jan 2023 00:59:17 +0000 Subject: [PATCH] fix footer --- assets/_defaults.scss | 54 +++++++++---------- assets/book.scss | 2 +- config.yaml | 4 +- layouts/_default/baseof.html | 7 +-- layouts/partials/quartz/contact.html | 4 +- ...s_e129fe35b8d0a70789c8a08429469073.content | 2 +- ...scss_e129fe35b8d0a70789c8a08429469073.json | 2 +- 7 files changed, 35 insertions(+), 40 deletions(-) diff --git a/assets/_defaults.scss b/assets/_defaults.scss index 0562ec4..de9d687 100644 --- a/assets/_defaults.scss +++ b/assets/_defaults.scss @@ -28,39 +28,39 @@ $hint-colors: ( danger: #f66, ) !default; -// Themes -@mixin theme-light { - --gray-100: #f8f9fa; - --gray-200: #e9ecef; - --gray-500: #adb5bd; +// Themes: USE QUARTZ INSTEAD +// @mixin theme-light { +// --gray-100: #f8f9fa; +// --gray-200: #e9ecef; +// --gray-500: #adb5bd; - --color-link: #0055bb; - --color-visited-link: #8440f1; +// --color-link: #0055bb; +// --color-visited-link: #8440f1; - --body-background: white; - --body-font-color: black; +// --body-background: white; +// --body-font-color: black; - --icon-filter: none; +// --icon-filter: none; - --hint-color-info: #6bf; - --hint-color-warning: #fd6; - --hint-color-danger: #f66; -} +// --hint-color-info: #6bf; +// --hint-color-warning: #fd6; +// --hint-color-danger: #f66; +// } -@mixin theme-dark { - --gray-100: rgba(255, 255, 255, 0.1); - --gray-200: rgba(255, 255, 255, 0.2); - --gray-500: rgba(255, 255, 255, 0.5); +// @mixin theme-dark { +// --gray-100: rgba(255, 255, 255, 0.1); +// --gray-200: rgba(255, 255, 255, 0.2); +// --gray-500: rgba(255, 255, 255, 0.5); - --color-link: #84b2ff; - --color-visited-link: #b88dff; +// --color-link: #84b2ff; +// --color-visited-link: #b88dff; - --body-background: #343a40; - --body-font-color: #e9ecef; +// --body-background: #343a40; +// --body-font-color: #e9ecef; - --icon-filter: brightness(0) invert(1); +// --icon-filter: brightness(0) invert(1); - --hint-color-info: #6bf; - --hint-color-warning: #fd6; - --hint-color-danger: #f66; -} +// --hint-color-info: #6bf; +// --hint-color-warning: #fd6; +// --hint-color-danger: #f66; +// } diff --git a/assets/book.scss b/assets/book.scss index 8e67fa2..3ca1238 100644 --- a/assets/book.scss +++ b/assets/book.scss @@ -1,6 +1,6 @@ @import "defaults"; @import "variables"; -@import "themes/{{ default "light" .Site.Params.BookTheme }}"; +// @import "themes/{{ default "light" .Site.Params.BookTheme }}"; @import "normalize"; @import "utils"; diff --git a/config.yaml b/config.yaml index 5b7d7d6..2aa9864 100644 --- a/config.yaml +++ b/config.yaml @@ -31,10 +31,10 @@ menu: params: name: Ben Cuan - title: 📓 Ben's Notes + title: 📓 Amethyst # OPTIONAL: custom favicon location - # favicon: 'location/to/favicon. png' + # favicon: 'location/to/favicon.png' # Show previews for links to other internal pages. enableLinkPreview: true diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index fa7960c..c2680ff 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -23,11 +23,6 @@ {{ partial "docs/inject/content-before" . }} {{ template "main" . }} {{ partial "docs/inject/content-after" . }} - - {{/* */}} {{ template "comments" . }} @@ -78,7 +73,7 @@

{{ partial "docs/title.html" . }}

{{partial "quartz/textprocessing" . }} - {{ partial "quartz/footer"}} + {{ partial "quartz/footer" .}} {{/* {{- .Content -}} */}}
{{ end }} diff --git a/layouts/partials/quartz/contact.html b/layouts/partials/quartz/contact.html index a9b39bc..d279eb5 100644 --- a/layouts/partials/quartz/contact.html +++ b/layouts/partials/quartz/contact.html @@ -1,10 +1,10 @@ -{{ $config := cond (eq $.Site.Language.Lang "en") "config" (printf "config.%s" $.Site.Language.Lang) }} +{{/* {{ $config := cond (eq $.Site.Language.Lang "en") "config" (printf "config.%s" $.Site.Language.Lang) }} */}} {{ $data := $.Site.Params }}