mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-14 09:12:20 +00:00
Add retro theme
This commit is contained in:
0
themes/lhs-retro/layouts/partials/foot.html
Normal file
0
themes/lhs-retro/layouts/partials/foot.html
Normal file
23
themes/lhs-retro/layouts/partials/footer.html
Normal file
23
themes/lhs-retro/layouts/partials/footer.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<hr>
|
||||
<p>
|
||||
<b>Leigh Hackspace</b><br>
|
||||
Unit 3.14, Leigh Spinners Mill<br>
|
||||
Park Lane, Leigh <br>
|
||||
WN7 2LB <br>
|
||||
<a href="mailto:info@leighhack.org">info@leighhack.org</a>
|
||||
</p>
|
||||
<p>
|
||||
<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 }}
|
||||
{{- 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 />
|
||||
{{ .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>
|
||||
7
themes/lhs-retro/layouts/partials/head.html
Normal file
7
themes/lhs-retro/layouts/partials/head.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<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 }}">
|
||||
<link rel="alternate" type="text/calendar" href="https://api.leighhack.org/events.ics" title="{{ .Site.Title }} Events">
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
|
||||
13
themes/lhs-retro/layouts/partials/header.html
Normal file
13
themes/lhs-retro/layouts/partials/header.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{{ 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>
|
||||
{{ 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>
|
||||
{{- end }}
|
||||
</p>
|
||||
<hr>
|
||||
<h2>{{ .Title }}</h2>
|
||||
Reference in New Issue
Block a user