From 45e0d5fca3dcd7230fb9f72c37b53d8b76635ef7 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Tue, 8 Jun 2021 18:18:22 +0200 Subject: [PATCH] Footer + fixing bugs --- layouts/_default/baseof.html | 2 +- layouts/partials/footer.html | 22 ++++++++++++++ layouts/partials/head.html | 5 +++- layouts/partials/header.html | 10 +++---- static/css/common.css | 28 ++++++++++++++---- static/css/footer.css | 17 +++++++++++ static/css/header.css | 30 ++++++++++++------- static/icons/social/git.svg | 1 + static/icons/social/github.svg | 1 + static/icons/social/mastodon.svg | 1 + static/icons/social/twitter.svg | 1 + static/img/mastodon.svg | 50 ++++++++++++++++++++++++++++++++ static/js/header.js | 2 ++ 13 files changed, 147 insertions(+), 23 deletions(-) create mode 100644 static/css/footer.css create mode 100644 static/icons/social/git.svg create mode 100644 static/icons/social/github.svg create mode 100644 static/icons/social/mastodon.svg create mode 100644 static/icons/social/twitter.svg create mode 100644 static/img/mastodon.svg diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 8c486d1..5f8e2ec 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,7 +3,7 @@ {{- partial "head.html" . -}} {{- partial "header.html" . -}} -
+
{{- block "main" . }}{{- end }}
{{- partial "footer.html" . -}} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e69de29..6144cc6 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -0,0 +1,22 @@ +
+

+
+ +
+ {{ .Site.Copyright }} +
+
+ {{ .Site.Params.usingTheme }} Omegamma
+ {{ .Site.Params.poweredBy }} Hugo +
+
+
+
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ff07036..d410235 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,7 +1,10 @@ - {{ .Site.Title }} - {{ .Params.title }} + {{ .Site.Title }} - {{ .Title }} + + {{ hugo.Generator }} + diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 99ac9eb..02d6589 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -2,9 +2,9 @@