From b0f804f9b2066775031c0776509d6d74dc2618e5 Mon Sep 17 00:00:00 2001
From: Andrew Williams
Date: Mon, 19 Feb 2024 14:41:50 +0000
Subject: [PATCH] Fix HTML 4.01 Transitional issues
---
Makefile | 5 ++++-
themes/lhs-retro/layouts/_default/baseof.html | 2 +-
themes/lhs-retro/layouts/partials/footer.html | 5 ++---
themes/lhs-retro/layouts/partials/head.html | 1 -
themes/lhs-retro/layouts/partials/header.html | 7 +++----
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/Makefile b/Makefile
index c35ba1c..562f1d8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,5 @@
serve:
- hugo serve -D --gc -w -F
\ No newline at end of file
+ hugo serve -D --gc -w -F
+
+serve-retro:
+ hugo serve -D --gc -w -F -t lhs-retro
\ No newline at end of file
diff --git a/themes/lhs-retro/layouts/_default/baseof.html b/themes/lhs-retro/layouts/_default/baseof.html
index 0c77a7f..b06627a 100644
--- a/themes/lhs-retro/layouts/_default/baseof.html
+++ b/themes/lhs-retro/layouts/_default/baseof.html
@@ -1,4 +1,4 @@
-
+
diff --git a/themes/lhs-retro/layouts/partials/footer.html b/themes/lhs-retro/layouts/partials/footer.html
index ed16d9e..f543c8d 100644
--- a/themes/lhs-retro/layouts/partials/footer.html
+++ b/themes/lhs-retro/layouts/partials/footer.html
@@ -10,14 +10,13 @@
Socials:
{{ $menu_items := add (len .Site.Params.social_links) -1 }}
{{- range $i, $e := .Site.Params.social_links }}
- {{ .name | humanize
- }}{{ if lt $i $menu_items }} / {{ end }}
+ {{ .name | humanize }}{{ if lt $i $menu_items }} / {{ end }}
{{- end }}
© {{ .Site.Params.company }} {{ .Site.Params.copyright_years }} | Initial website design by COSMOS
+ href="https://www.studiocosmos.co.uk" target="_blank" rel="noopener">COSMOS
{{ .Site.Title }} is a trading name of {{ .Site.Params.Company }}, registered in England & Wales No. {{
.Site.Params.company_number }}
\ No newline at end of file
diff --git a/themes/lhs-retro/layouts/partials/head.html b/themes/lhs-retro/layouts/partials/head.html
index 23e9a8f..6677575 100644
--- a/themes/lhs-retro/layouts/partials/head.html
+++ b/themes/lhs-retro/layouts/partials/head.html
@@ -1,4 +1,3 @@
-
{{ block "title" . }}{{ .Site.Title }} - {{ .Title }}{{ end }}
diff --git a/themes/lhs-retro/layouts/partials/header.html b/themes/lhs-retro/layouts/partials/header.html
index 5f049f1..3d0f4e5 100644
--- a/themes/lhs-retro/layouts/partials/header.html
+++ b/themes/lhs-retro/layouts/partials/header.html
@@ -1,12 +1,11 @@
{{ with resources.Get "images/rose_logo.jpg" }}
-
Leigh Hackspace
+
Leigh
+ Hackspace
{{ end }}
{{ $menu_items := add (len site.Menus.main) -1 }}
{{- range $i, $e := site.Menus.main }}
- {{ .Name }}{{ if lt $i $menu_items }} / {{
- end }}
-
+ {{ .Name }}{{ if lt $i $menu_items }} / {{ end }}
{{- end }}