From 15cc14f7223b51338847884eeacf7032462a204c Mon Sep 17 00:00:00 2001 From: Hauke Stieler Date: Sat, 25 Aug 2018 00:53:23 +0200 Subject: Switch div and a This ensures, that you can click the button on the whole space and not only on the link-text inside the div. --- layouts/partials/header.html | 16 ++++++---------- layouts/partials/pagination.html | 32 ++++++++++++++++++++------------ 2 files changed, 26 insertions(+), 22 deletions(-) (limited to 'layouts/partials') diff --git a/layouts/partials/header.html b/layouts/partials/header.html index a6b9b78..47215f6 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -29,7 +29,7 @@ {{ if ne .URL "/" }} {{ .Title }} · {{ end }} {{ .Site.Title }} - + @@ -56,7 +56,7 @@ {{ end }} {{ if ne ( trim .URL "/" ) .Site.Language.Lang }} - +  {{ i18n "home" }} @@ -64,11 +64,9 @@ @@ -77,9 +75,7 @@ {{ if .IsTranslated }}
{{ range .Site.Home.AllTranslations }} - + {{ .Language.LanguageName }} {{ end }}
{{ end }} diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html index f2c7cc4..a7aa9ed 100644 --- a/layouts/partials/pagination.html +++ b/layouts/partials/pagination.html @@ -2,25 +2,33 @@
{{ end }} -- cgit v1.2.3