From c68f1baef105ee60ab84baa90aff214c01a3b725 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 3 Jan 2022 13:47:54 +0000 Subject: [PATCH] Move links inside headers Touch targets on mobile get a bit weird otherwise --- layouts/_default/contact.html | 14 +++++++++----- layouts/partials/list_item.html | 8 +++++--- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/layouts/_default/contact.html b/layouts/_default/contact.html index f898289..987cfff 100644 --- a/layouts/_default/contact.html +++ b/layouts/_default/contact.html @@ -9,13 +9,17 @@ {{ range $i, $e := sort .Site.Data.social.accounts "name" }}
- -

-
-
+

-

{{ $e.name }}

+
+

+
+

+ + {{ $e.name }} + +

{{ $e.username }}

diff --git a/layouts/partials/list_item.html b/layouts/partials/list_item.html index c02ca01..e32708c 100644 --- a/layouts/partials/list_item.html +++ b/layouts/partials/list_item.html @@ -17,9 +17,11 @@
{{ end }}
- -

{{ .Title }}

-
+

+ + {{ .Title }} + +

{{ partial "content-details.html" . }}

{{ partial "summary.html" . }}