From 957e4a9d1055deda7cea2c9cbe8a7396ee576a9d Mon Sep 17 00:00:00 2001 From: rohan kumar Date: Tue, 17 Nov 2020 13:55:19 -0800 Subject: [PATCH] Theme: better bottom links - Add links to gemini versions of HTML pages - Fix footer link color Also snuck in removal of scrollbar coloring. Why was that there in the first place? --- themes/etch-custom/assets/css/dark.css | 5 +---- themes/etch-custom/assets/css/main.css | 2 +- themes/etch-custom/layouts/_default/single.html | 6 ++++++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/themes/etch-custom/assets/css/dark.css b/themes/etch-custom/assets/css/dark.css index 1f25da1..7bbf9e7 100644 --- a/themes/etch-custom/assets/css/dark.css +++ b/themes/etch-custom/assets/css/dark.css @@ -1,9 +1,6 @@ {{ if not (eq .Site.Params.dark "on") -}} @media (prefers-color-scheme: dark) { {{ end -}} -html { - scrollbar-color: #6c6c6c #2e2e2e; -} body { color: #ebebeb; @@ -19,7 +16,7 @@ header#banner nav ul li a { color: #cccccc; } -main#content a { +main#content a, footer a { color: #00b1ed; } diff --git a/themes/etch-custom/assets/css/main.css b/themes/etch-custom/assets/css/main.css index f889b79..8fcac46 100644 --- a/themes/etch-custom/assets/css/main.css +++ b/themes/etch-custom/assets/css/main.css @@ -58,7 +58,7 @@ header#banner nav ul li a { color: #454545; } -main#content a { +main#content a, footer a { color: #007dfa; text-decoration: none; } diff --git a/themes/etch-custom/layouts/_default/single.html b/themes/etch-custom/layouts/_default/single.html index 7c78e66..caad86e 100644 --- a/themes/etch-custom/layouts/_default/single.html +++ b/themes/etch-custom/layouts/_default/single.html @@ -8,4 +8,10 @@ {{- .Content -}} +
+ {{ with .OutputFormats.Get "gemtext" }} +

+ ⇒ View this article on my Gemini capsule. + {{ end }} + {{ end }}