From 32b3710117df0adc64e2119e8b6da589d9553cc6 Mon Sep 17 00:00:00 2001 From: Humberto Rocha Date: Wed, 18 Sep 2019 19:20:26 -0300 Subject: Fix theme duplicated code and absURL issues --- layouts/partials/header.html | 18 +++++------------- layouts/partials/meta.html | 4 ++-- 2 files changed, 7 insertions(+), 15 deletions(-) (limited to 'layouts/partials') diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 8ff1626..2e7fd55 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -9,19 +9,11 @@ - {{ if .IsHome }} -

- - {{ .Site.Title }} - -

- {{ else }} -
- - {{ .Site.Title }} - -
- {{ end }} +
+ + {{ .Site.Title }} + +
diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index 9f984c0..2812653 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -6,8 +6,8 @@ {{ template "_internal/google_analytics_async.html" . }} - - + + -- cgit v1.2.3