From d5c7d6c2cc392cce306f4354b59fc07fc4504b82 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Fri, 6 Aug 2021 22:27:38 +0200 Subject: [PATCH] Minor changes and fixes, showing Git commit in footer. --- assets/scss/components/common/headers.scss | 4 ++++ assets/scss/components/common/text.scss | 2 +- layouts/partials/footer.html | 12 ++++++++---- layouts/partials/head.html | 2 +- layouts/shortcodes/badgeTable.html | 2 +- layouts/shortcodes/sectionSkewed.html | 2 +- 6 files changed, 16 insertions(+), 8 deletions(-) diff --git a/assets/scss/components/common/headers.scss b/assets/scss/components/common/headers.scss index ba0f5a1..486c04f 100644 --- a/assets/scss/components/common/headers.scss +++ b/assets/scss/components/common/headers.scss @@ -27,6 +27,10 @@ h2 { font-size: x-large; } +h3, p.h3 { + font-size: larger; +} + h1, h2, h3 { font-family: var(--light-font); } diff --git a/assets/scss/components/common/text.scss b/assets/scss/components/common/text.scss index fa53483..853ada0 100644 --- a/assets/scss/components/common/text.scss +++ b/assets/scss/components/common/text.scss @@ -41,5 +41,5 @@ code, .code { font-family: monospace; padding: 0.5em; margin-bottom: 0.5em; - background: white; + background: #EEEEEE; } diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index a7b6c25..243936b 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -13,12 +13,16 @@

{{ .Site.Copyright }}
- {{ i18n "websiteSource" }}
+

{{ i18n "websiteSource" }}

+ {{ if .GitInfo }} +

Built from {{ .GitInfo.AbbreviatedHash }}

+ {{ end }} + Terms of use
+
-
- {{ i18n "usingTheme" }} Omegamma
- {{ i18n "poweredBy" }} Hugo +

{{ i18n "usingTheme" }} Omegamma

+

{{ i18n "poweredBy" }} Hugo


diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 92bab7e..bf9d41a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -21,5 +21,5 @@ {{ end }} {{ end }} {{ $mainjs := resources.Get "/js/main.js" | minify }} - + diff --git a/layouts/shortcodes/badgeTable.html b/layouts/shortcodes/badgeTable.html index 9a70dc6..4ff6574 100644 --- a/layouts/shortcodes/badgeTable.html +++ b/layouts/shortcodes/badgeTable.html @@ -5,7 +5,7 @@
{{ range $langs }}
-

{{ i18n . }}

+

{{ i18n . }}

{{ partial "badge.html" (dict "Icon" $icon "Lang" . "Alt" $alt ) }}
diff --git a/layouts/shortcodes/sectionSkewed.html b/layouts/shortcodes/sectionSkewed.html index 5c39dfc..0093c72 100644 --- a/layouts/shortcodes/sectionSkewed.html +++ b/layouts/shortcodes/sectionSkewed.html @@ -1,3 +1,3 @@ -
+
{{ .Inner | markdownify }}