fix footer
This commit is contained in:
parent
10e72e0b35
commit
b7a9e2a878
@ -28,39 +28,39 @@ $hint-colors: (
|
|||||||
danger: #f66,
|
danger: #f66,
|
||||||
) !default;
|
) !default;
|
||||||
|
|
||||||
// Themes
|
// Themes: USE QUARTZ INSTEAD
|
||||||
@mixin theme-light {
|
// @mixin theme-light {
|
||||||
--gray-100: #f8f9fa;
|
// --gray-100: #f8f9fa;
|
||||||
--gray-200: #e9ecef;
|
// --gray-200: #e9ecef;
|
||||||
--gray-500: #adb5bd;
|
// --gray-500: #adb5bd;
|
||||||
|
|
||||||
--color-link: #0055bb;
|
// --color-link: #0055bb;
|
||||||
--color-visited-link: #8440f1;
|
// --color-visited-link: #8440f1;
|
||||||
|
|
||||||
--body-background: white;
|
// --body-background: white;
|
||||||
--body-font-color: black;
|
// --body-font-color: black;
|
||||||
|
|
||||||
--icon-filter: none;
|
// --icon-filter: none;
|
||||||
|
|
||||||
--hint-color-info: #6bf;
|
// --hint-color-info: #6bf;
|
||||||
--hint-color-warning: #fd6;
|
// --hint-color-warning: #fd6;
|
||||||
--hint-color-danger: #f66;
|
// --hint-color-danger: #f66;
|
||||||
}
|
// }
|
||||||
|
|
||||||
@mixin theme-dark {
|
// @mixin theme-dark {
|
||||||
--gray-100: rgba(255, 255, 255, 0.1);
|
// --gray-100: rgba(255, 255, 255, 0.1);
|
||||||
--gray-200: rgba(255, 255, 255, 0.2);
|
// --gray-200: rgba(255, 255, 255, 0.2);
|
||||||
--gray-500: rgba(255, 255, 255, 0.5);
|
// --gray-500: rgba(255, 255, 255, 0.5);
|
||||||
|
|
||||||
--color-link: #84b2ff;
|
// --color-link: #84b2ff;
|
||||||
--color-visited-link: #b88dff;
|
// --color-visited-link: #b88dff;
|
||||||
|
|
||||||
--body-background: #343a40;
|
// --body-background: #343a40;
|
||||||
--body-font-color: #e9ecef;
|
// --body-font-color: #e9ecef;
|
||||||
|
|
||||||
--icon-filter: brightness(0) invert(1);
|
// --icon-filter: brightness(0) invert(1);
|
||||||
|
|
||||||
--hint-color-info: #6bf;
|
// --hint-color-info: #6bf;
|
||||||
--hint-color-warning: #fd6;
|
// --hint-color-warning: #fd6;
|
||||||
--hint-color-danger: #f66;
|
// --hint-color-danger: #f66;
|
||||||
}
|
// }
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
@import "defaults";
|
@import "defaults";
|
||||||
@import "variables";
|
@import "variables";
|
||||||
@import "themes/{{ default "light" .Site.Params.BookTheme }}";
|
// @import "themes/{{ default "light" .Site.Params.BookTheme }}";
|
||||||
|
|
||||||
@import "normalize";
|
@import "normalize";
|
||||||
@import "utils";
|
@import "utils";
|
||||||
|
@ -31,10 +31,10 @@ menu:
|
|||||||
params:
|
params:
|
||||||
|
|
||||||
name: Ben Cuan
|
name: Ben Cuan
|
||||||
title: 📓 Ben's Notes
|
title: 📓 Amethyst
|
||||||
|
|
||||||
# OPTIONAL: custom favicon location
|
# OPTIONAL: custom favicon location
|
||||||
# favicon: 'location/to/favicon. png'
|
# favicon: 'location/to/favicon.png'
|
||||||
|
|
||||||
# Show previews for links to other internal pages.
|
# Show previews for links to other internal pages.
|
||||||
enableLinkPreview: true
|
enableLinkPreview: true
|
||||||
|
@ -23,11 +23,6 @@
|
|||||||
{{ partial "docs/inject/content-before" . }}
|
{{ partial "docs/inject/content-before" . }}
|
||||||
{{ template "main" . }} <!-- Page Content -->
|
{{ template "main" . }} <!-- Page Content -->
|
||||||
{{ partial "docs/inject/content-after" . }}
|
{{ partial "docs/inject/content-after" . }}
|
||||||
|
|
||||||
{{/* <footer class="book-footer">
|
|
||||||
{{ template "footer" . }} <!-- Footer under page content -->
|
|
||||||
{{ partial "docs/inject/footer" . }}
|
|
||||||
</footer> */}}
|
|
||||||
|
|
||||||
|
|
||||||
{{ template "comments" . }} <!-- Comments block -->
|
{{ template "comments" . }} <!-- Comments block -->
|
||||||
@ -78,7 +73,7 @@
|
|||||||
<article class="markdown">
|
<article class="markdown">
|
||||||
<h1 class="title">{{ partial "docs/title.html" . }}</h1>
|
<h1 class="title">{{ partial "docs/title.html" . }}</h1>
|
||||||
{{partial "quartz/textprocessing" . }}
|
{{partial "quartz/textprocessing" . }}
|
||||||
{{ partial "quartz/footer"}}
|
{{ partial "quartz/footer" .}}
|
||||||
{{/* {{- .Content -}} */}}
|
{{/* {{- .Content -}} */}}
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<!-- set data/config yaml file based on website language -->
|
<!-- set data/config yaml file based on website language -->
|
||||||
{{ $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 }}
|
{{ $data := $.Site.Params }}
|
||||||
<!-- Contact Info -->
|
<!-- Contact Info -->
|
||||||
<div id="contact_buttons">
|
<div id="contact_buttons">
|
||||||
<footer>
|
<footer>
|
||||||
{{ $name := $data.name | default $.Site.Pkarams.name }}
|
{{ $name := $data.name | default $.Site.Params.name }}
|
||||||
{{ $year := dateFormat "2006" now }}
|
{{ $year := dateFormat "2006" now }}
|
||||||
<p>{{ i18n "copyright" (dict "name" $name "year" $year) | safeHTML}}</p>
|
<p>{{ i18n "copyright" (dict "name" $name "year" $year) | safeHTML}}</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
{"Target":"book.min.2ed75c0ce1bf358603ecfc1ad2de2c5bb8201d25551cf85f59fc45436d1dba91.css","MediaType":"text/css","Data":{"Integrity":"sha256-LtdcDOG/NYYD7Pwa0t4sW7ggHSVVHPhfWfxFQ20dupE="}}
|
{"Target":"book.min.00e2484af1d96768d441cb06b14bb2ed25eb59797d1198704e2ae089102d63db.css","MediaType":"text/css","Data":{"Integrity":"sha256-AOJISvHZZ2jUQcsGsUuy7SXrWXl9EZhwTirgiRAtY9s="}}
|
Loading…
Reference in New Issue
Block a user