From bfa8a24e8ddf23a7eb00ee1bb72c87042d5ccc95 Mon Sep 17 00:00:00 2001 From: Vrifox Date: Wed, 30 Sep 2020 20:05:47 +0200 Subject: [PATCH] =?UTF-8?q?added=20git.vrifox.cc=20to=20menu;=20changed=20?= =?UTF-8?q?:hover=20styles=20of=20links=20on=20=C2=BBhome=C2=AB=20and=20th?= =?UTF-8?q?e=20footer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/index.scss | 7 +++++++ assets/partials/_footer.scss | 4 ++++ config.yaml | 5 +++++ layouts/_default/list.html | 5 ++++- layouts/index.html | 5 ++++- 5 files changed, 24 insertions(+), 2 deletions(-) diff --git a/assets/index.scss b/assets/index.scss index 3f27f38..76d9fc3 100644 --- a/assets/index.scss +++ b/assets/index.scss @@ -9,6 +9,13 @@ header { } } +h1 { + a:hover { + text-decoration: none; + border-bottom: 2px solid; + } +} + .section-articles { display: grid; grid-template-columns: repeat(2, 1fr); diff --git a/assets/partials/_footer.scss b/assets/partials/_footer.scss index 8562d68..93a84de 100644 --- a/assets/partials/_footer.scss +++ b/assets/partials/_footer.scss @@ -29,6 +29,10 @@ footer { } a { color: rgb(200, 200, 230); + &:hover { + text-decoration: none; + border-bottom: 2px solid; + } } } } diff --git a/config.yaml b/config.yaml index b400709..bd0b3bc 100644 --- a/config.yaml +++ b/config.yaml @@ -22,6 +22,11 @@ menu: title: mastodon url: https://social.anoxinon.de/@vrifox weight: 1 + - identifier: gitea + name: gitea + title: gitea + url: https://git.vrifox.cc/vrifox + weight: 2 footer: - identifier: feed name: feed (rss) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 47ee77a..e08dc22 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -16,7 +16,10 @@

{{ .Title }}

-

{{ .Date.Format "2 January 2006" }} by {{ .Params.author }}

+

+ {{ .Date.Format "2 January 2006" }} + {{ with .Params.author }}by {{ end }}{{ .Params.author }} +

{{ with .Description }}

{{ . }}

{{ end }} diff --git a/layouts/index.html b/layouts/index.html index ecd45fe..3eac9f3 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -18,7 +18,10 @@

{{ .Title }}

-

{{ .Date.Format "2 January 2006" }} by {{ .Params.author }}

+

+ {{ .Date.Format "2 January 2006" }} + {{ with .Params.author }}by {{ end }}{{ .Params.author }} +

{{ with .Description }}

{{ . }}

{{ end }}