mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-11 15:52:26 +00:00
Fix HTML 4.01 Transitional issues
This commit is contained in:
5
Makefile
5
Makefile
@@ -1,2 +1,5 @@
|
||||
serve:
|
||||
hugo serve -D --gc -w -F
|
||||
hugo serve -D --gc -w -F
|
||||
|
||||
serve-retro:
|
||||
hugo serve -D --gc -w -F -t lhs-retro
|
||||
@@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
|
||||
@@ -10,14 +10,13 @@
|
||||
<b>Socials:</b>
|
||||
{{ $menu_items := add (len .Site.Params.social_links) -1 }}
|
||||
{{- range $i, $e := .Site.Params.social_links }}
|
||||
<a href="{{ .url | safeURL }}" target="_blank" rel="noopener me" title="{{ .name | humanize }}">{{ .name | humanize
|
||||
}}</a>{{ if lt $i $menu_items }} / {{ end }}
|
||||
<a href="{{ .url | safeURL }}" target="_blank" rel="noopener me" title="{{ .name | humanize }}">{{ .name | humanize }}</a>{{ if lt $i $menu_items }} / {{ end }}
|
||||
{{- end }}
|
||||
</p>
|
||||
|
||||
|
||||
<p>© {{ .Site.Params.company }} {{ .Site.Params.copyright_years }} | Initial website design by <a
|
||||
href="https://www.studiocosmos.co.uk" target="_blank" rel="noopener">COSMOS</a><br />
|
||||
href="https://www.studiocosmos.co.uk" target="_blank" rel="noopener">COSMOS</a><br>
|
||||
{{ .Site.Title }} is a trading name of {{ .Site.Params.Company }}, registered in England & Wales No. <a
|
||||
href="https://find-and-update.company-information.service.gov.uk/company/{{ .Site.Params.company_number }}">{{
|
||||
.Site.Params.company_number }}</a></p>
|
||||
@@ -1,4 +1,3 @@
|
||||
<meta charset="utf-8">
|
||||
<title>{{ block "title" . }}{{ .Site.Title }} - {{ .Title }}{{ end }}</title>
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" href="{{ absURL "blog/index.xml" }}" title="{{ .Site.Title }}">
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
{{ with resources.Get "images/rose_logo.jpg" }}
|
||||
<h1><a href="{{ absURL "" }}"><img src="{{ .RelPermalink }}" alt="The logo of Leigh Hackspace" width="70px"></a> Leigh Hackspace</h1>
|
||||
<h1><a href="{{ absURL "" }}"><img src="{{ .RelPermalink }}" alt="The logo of Leigh Hackspace" width="70px"></a> Leigh
|
||||
Hackspace</h1>
|
||||
{{ end }}
|
||||
<p>
|
||||
{{ $menu_items := add (len site.Menus.main) -1 }}
|
||||
{{- range $i, $e := site.Menus.main }}
|
||||
<a href="{{ .URL }}" class="active navbar-item has-shadow is-size-5">{{ .Name }}</a>{{ if lt $i $menu_items }} / {{
|
||||
end }}
|
||||
</a>
|
||||
<a href="{{ .URL }}" class="active navbar-item has-shadow is-size-5">{{ .Name }}</a>{{ if lt $i $menu_items }} / {{ end }}
|
||||
{{- end }}
|
||||
</p>
|
||||
<hr>
|
||||
|
||||
Reference in New Issue
Block a user