From ef17749c72806dd54b8d2a660ab8fe41c0aa83bb Mon Sep 17 00:00:00 2001 From: Alexander Eble <35292572+alexanderdavide@users.noreply.github.com> Date: Mon, 13 Dec 2021 20:39:21 +0100 Subject: [PATCH 1/4] fix: make canonical link absolute (#273) --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 11a67940..524051bd 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -116,7 +116,7 @@ - + {{ with .OutputFormats.Get "rss" -}} From 69aa540b3027e3a4f15cec7876b171f17fc1227f Mon Sep 17 00:00:00 2001 From: Alexander Eble <35292572+alexanderdavide@users.noreply.github.com> Date: Thu, 16 Dec 2021 16:17:15 +0100 Subject: [PATCH 2/4] Links not Crawlable (#274) * fix: links not crawlable * chore: ignore hugo build lock --- .gitignore | 3 ++- assets/css/style.css | 11 +---------- layouts/partials/navbar.html | 2 +- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 52b6c7df..e3264f88 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ demo/ .hugo/* !.hugo/version -/node_modules \ No newline at end of file +.hugo_build.lock +/node_modules diff --git a/assets/css/style.css b/assets/css/style.css index 3f32b0b0..6e7e756e 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -285,15 +285,10 @@ Language Switch padding-right: 20px; } -.sl-nav a:hover { +.sl-nav li label { cursor: pointer; } -.sl-nav li { - cursor: pointer; - padding-bottom: 10px; -} - .sl-nav li .dropdown { display: none; position: absolute; @@ -1385,10 +1380,6 @@ a.btn { .sl-nav li .dropdown li span { padding-left: initial; } - - .sl-nav li label { - font-size: 0.75em; - } } /* Medium zoom */ diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 0c465d38..6e0f4823 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -42,7 +42,7 @@