From bf74822c0cbab5acb65142306475e779cb3eb851 Mon Sep 17 00:00:00 2001 From: Kekskurse Date: Mon, 7 Dec 2020 20:59:39 +0100 Subject: [PATCH] Licenc --- content/posts/2020-12-07-Teufelsberg.md | 1 + themes/archie/layouts/_default/single.html | 13 +++++++++++++ themes/archie/static/css/dark.css | 6 ++++++ themes/archie/static/css/main.css | 6 ++++++ 4 files changed, 26 insertions(+) diff --git a/content/posts/2020-12-07-Teufelsberg.md b/content/posts/2020-12-07-Teufelsberg.md index 719f93a..69e9073 100644 --- a/content/posts/2020-12-07-Teufelsberg.md +++ b/content/posts/2020-12-07-Teufelsberg.md @@ -7,6 +7,7 @@ description: "Image Gallery" startpage: false lang: img gallery: "/img/2020/12/teufelsberg/DSC07352-1.jpg" +cc: "by-nc-sa" --- # Gallery {{< gallery dir="img/2020/12/teufelsberg" caption-position="none" caption-effect="fade" />}} {{< load-photoswipe >}} diff --git a/themes/archie/layouts/_default/single.html b/themes/archie/layouts/_default/single.html index 839bdee..ae71145 100644 --- a/themes/archie/layouts/_default/single.html +++ b/themes/archie/layouts/_default/single.html @@ -31,5 +31,18 @@ {{ end }} +
+ {{ if eq .Params.cc nil }} + + Creative Commons Lizenzvertrag + + {{ else }} + + Creative Commons Lizenzvertrag + + {{ end }} + +
+ {{ end }} diff --git a/themes/archie/static/css/dark.css b/themes/archie/static/css/dark.css index f93adf1..1f5a6db 100644 --- a/themes/archie/static/css/dark.css +++ b/themes/archie/static/css/dark.css @@ -3,6 +3,12 @@ body { background-color: #202124; } +.nolink { + border-bottom: 0px; + --hovercolor:none; +} + + ::-moz-selection { background: blue; color: #fff; diff --git a/themes/archie/static/css/main.css b/themes/archie/static/css/main.css index 3e6c953..f85d019 100644 --- a/themes/archie/static/css/main.css +++ b/themes/archie/static/css/main.css @@ -8,6 +8,12 @@ --hovercolor:navy; --darkMaincolor: #50fa7b; } + +.nolink { + border-bottom: 0px; + --hovercolor:none; +} + html { color: #232333; font-family: 'Roboto Mono', monospace;