From d91f48c4945acd1b9f76a79d7804580b70b0c2df Mon Sep 17 00:00:00 2001 From: verdant Date: Sun, 31 May 2026 16:36:13 +0800 Subject: Refactor: remove bloated CSS style and nested HTML layouts --- layouts/partials/footer.html | 4 +--- layouts/partials/nav.html | 7 +------ layouts/partials/seo_tags.html | 34 +++++++++++++--------------------- 3 files changed, 15 insertions(+), 30 deletions(-) (limited to 'layouts/partials') diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index a40be26..e155231 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1 @@ - + diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index ad2f6d1..864a499 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -1,6 +1 @@ -{{ range .Site.Menus.main }} -[{{ .Name }}] -{{ end }} -{{ with .Site.GetPage "/blog" }} -Blog -{{ end }} + diff --git a/layouts/partials/seo_tags.html b/layouts/partials/seo_tags.html index 4f594fd..96d390e 100644 --- a/layouts/partials/seo_tags.html +++ b/layouts/partials/seo_tags.html @@ -1,21 +1,13 @@ - - - - - - - - - - - - - - -{{ template "_internal/opengraph.html" . }} - - -{{ template "_internal/twitter_cards.html" . }} - - -{{ template "_internal/schema.html" . }} + + + + + + + + + + + + + -- cgit v1.2.3