diff --git a/.github/workflows/deploy-retro.yml b/.github/workflows/deploy-retro.yml
new file mode 100644
index 0000000..0ee5c32
--- /dev/null
+++ b/.github/workflows/deploy-retro.yml
@@ -0,0 +1,31 @@
+name: Deploy Hugo site to Retro Production
+
+on:
+ # Runs on pushes targeting the default branch
+ push:
+ branches:
+ - '*'
+
+ # Allows you to run this workflow manually from the Actions tab
+ workflow_dispatch:
+
+# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
+# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
+concurrency:
+ group: "retro-pages"
+ cancel-in-progress: false
+
+jobs:
+ # Deployment job
+ deploy:
+ environment:
+ name: retro-production
+ url: http://retro.leighhack.org
+ runs-on: ubuntu-latest
+ steps:
+ - name: Invoke deployment hook
+ uses: distributhor/workflow-webhook@v3
+ with:
+ webhook_url: ${{ vars.WEBHOOK_URL }}
+ webhook_secret: ${{ secrets.WEBHOOK_SECRET }}
+ max_time: 300
\ No newline at end of file
diff --git a/themes/lhs-retro/assets/images/rose_logo.jpg b/themes/lhs-retro/assets/images/rose_logo.jpg
new file mode 100644
index 0000000..fd013e0
Binary files /dev/null and b/themes/lhs-retro/assets/images/rose_logo.jpg differ
diff --git a/themes/lhs-retro/assets/images/rose_logo.svg b/themes/lhs-retro/assets/images/rose_logo.svg
new file mode 100644
index 0000000..10ae3cb
--- /dev/null
+++ b/themes/lhs-retro/assets/images/rose_logo.svg
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/themes/lhs-retro/layouts/404.html b/themes/lhs-retro/layouts/404.html
new file mode 100644
index 0000000..218d32d
--- /dev/null
+++ b/themes/lhs-retro/layouts/404.html
@@ -0,0 +1,11 @@
+{{ define "title" }}
+ Page Not Found
+{{ end }}
+
+{{ define "subtitle" }}
+ Oops!
+{{ end }}
+
+{{ define "content" }}
+ Sorry, this page doesn't exist!
+{{ end }}
\ No newline at end of file
diff --git a/themes/lhs-retro/layouts/_default/baseof.html b/themes/lhs-retro/layouts/_default/baseof.html
new file mode 100644
index 0000000..0c77a7f
--- /dev/null
+++ b/themes/lhs-retro/layouts/_default/baseof.html
@@ -0,0 +1,15 @@
+
+
+
+
+ {{ partial "head.html" . }}
+
+
+
+ {{ partial "header.html" . }}
+ {{ block "content" . }}
+ {{ end }}
+ {{ partial "footer.html" . }}
+
+
+
\ No newline at end of file
diff --git a/themes/lhs-retro/layouts/_default/list.html b/themes/lhs-retro/layouts/_default/list.html
new file mode 100644
index 0000000..a16c89f
--- /dev/null
+++ b/themes/lhs-retro/layouts/_default/list.html
@@ -0,0 +1,17 @@
+{{ define "title" }}
+{{ .Title }}
+{{ end }}
+
+{{ define "subtitle" }}
+{{ .Params.subtitle }}
+{{ end }}
+
+{{ define "content" }}
+{{ .Content }}
+
+
+{{ end }}
\ No newline at end of file
diff --git a/themes/lhs-retro/layouts/_default/single.html b/themes/lhs-retro/layouts/_default/single.html
new file mode 100644
index 0000000..739bb0a
--- /dev/null
+++ b/themes/lhs-retro/layouts/_default/single.html
@@ -0,0 +1,11 @@
+{{ define "title" }}
+{{ .Title }}
+{{ end }}
+
+{{ define "subtitle" }}
+{{ .Params.subtitle }}
+{{ end }}
+
+{{ define "content" }}
+{{ .Content }}
+{{ end }}
\ No newline at end of file
diff --git a/themes/lhs-retro/layouts/blog/list.html b/themes/lhs-retro/layouts/blog/list.html
new file mode 100644
index 0000000..84a494d
--- /dev/null
+++ b/themes/lhs-retro/layouts/blog/list.html
@@ -0,0 +1,37 @@
+{{ define "title" }}
+{{ .Title }}
+{{ end }}
+
+{{ define "subtitle" }}
+{{ .Params.subtitle }}
+{{ end }}
+
+{{ define "content" }}
+{{ .Content }}
+
+Subscribe to our RSS feed to keep up to date with new
+ posts.
+
+{{- range .Data.Pages.GroupByDate "2006" }}
+{{ .Key }}
+
+{{- range .Pages }}
+{{ $image := .Resources.GetMatch .Params.listing_image }}
+{{ $image = $image.Fill "128x128 Center jpg picture" }}
+
+
+
+
+
+
+ {{.Title}} - {{ .Params.author }}
+ {{ dateFormat "Jan 2, 2006" .PublishDate }}
+
+ {{ .Summary }}
+
+
+
+
+{{- end }}
+{{- end }}
+{{ end }}
\ No newline at end of file
diff --git a/themes/lhs-retro/layouts/blog/single.html b/themes/lhs-retro/layouts/blog/single.html
new file mode 100644
index 0000000..e53266b
--- /dev/null
+++ b/themes/lhs-retro/layouts/blog/single.html
@@ -0,0 +1,26 @@
+{{ define "title" }}
+{{ .Title }}
+{{ end }}
+
+{{ define "subtitle" }}
+{{ .Params.subtitle }}
+{{ end }}
+
+{{ define "content" }}
+
+
+
+ {{ $avatar := resources.GetRemote (print "https://www.gravatar.com/avatar/" (sha256 .Params.author_email)) |
+ resources.Copy (print "images/avatars/" (sha256 .Params.author_email) ".jpg") }}
+
+
+
+ This is a post by {{ .Params.author }} . Originally
+ posted {{ .PublishDate | time.Format ":date_full" }}
+
+
+
+
+{{ .Content }}
+
+{{ end }}
\ No newline at end of file
diff --git a/themes/lhs-retro/layouts/partials/foot.html b/themes/lhs-retro/layouts/partials/foot.html
new file mode 100644
index 0000000..e69de29
diff --git a/themes/lhs-retro/layouts/partials/footer.html b/themes/lhs-retro/layouts/partials/footer.html
new file mode 100644
index 0000000..ed16d9e
--- /dev/null
+++ b/themes/lhs-retro/layouts/partials/footer.html
@@ -0,0 +1,23 @@
+
+
+ Leigh Hackspace
+ Unit 3.14, Leigh Spinners Mill
+ Park Lane, Leigh
+ WN7 2LB
+ info@leighhack.org
+
+
+ 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 }}
+ {{- end }}
+
+
+
+© {{ .Site.Params.company }} {{ .Site.Params.copyright_years }} | Initial website design by 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
new file mode 100644
index 0000000..23e9a8f
--- /dev/null
+++ b/themes/lhs-retro/layouts/partials/head.html
@@ -0,0 +1,7 @@
+
+{{ block "title" . }}{{ .Site.Title }} - {{ .Title }}{{ end }}
+
+
+
+
+
diff --git a/themes/lhs-retro/layouts/partials/header.html b/themes/lhs-retro/layouts/partials/header.html
new file mode 100644
index 0000000..5f049f1
--- /dev/null
+++ b/themes/lhs-retro/layouts/partials/header.html
@@ -0,0 +1,13 @@
+{{ with resources.Get "images/rose_logo.jpg" }}
+ Leigh Hackspace
+{{ end }}
+
+ {{ $menu_items := add (len site.Menus.main) -1 }}
+ {{- range $i, $e := site.Menus.main }}
+ {{ .Name }} {{ if lt $i $menu_items }} / {{
+ end }}
+
+ {{- end }}
+
+
+{{ .Title }}
\ No newline at end of file
diff --git a/themes/lhs-retro/layouts/shortcodes/image.html b/themes/lhs-retro/layouts/shortcodes/image.html
new file mode 100644
index 0000000..c4599be
--- /dev/null
+++ b/themes/lhs-retro/layouts/shortcodes/image.html
@@ -0,0 +1,7 @@
+{{ $img := .Page.Resources.GetMatch (printf "*%s*" (.Get "src")) }}
+{{ $width := .Get "width" }}
+{{ $img = $img.Resize (print (default "640x" $width) " jpeg picture") }}
+{{ $title := .Get "title" }}
+{{ $class := .Get "class" }}
+
\ No newline at end of file
diff --git a/themes/lhs-retro/layouts/shortcodes/rawhtml.html b/themes/lhs-retro/layouts/shortcodes/rawhtml.html
new file mode 100644
index 0000000..520ec17
--- /dev/null
+++ b/themes/lhs-retro/layouts/shortcodes/rawhtml.html
@@ -0,0 +1,2 @@
+
+{{.Inner}}
\ No newline at end of file
diff --git a/themes/lhs-retro/theme.toml b/themes/lhs-retro/theme.toml
new file mode 100644
index 0000000..35f4b32
--- /dev/null
+++ b/themes/lhs-retro/theme.toml
@@ -0,0 +1,11 @@
+name = "lhs-retro"
+license = "All Rights Reserved"
+description = "A retro theme for Leigh Hackspace"
+homepage = "https://retro.leighhack.org/"
+tags = []
+features = []
+min_version = "0.111.3"
+
+[author]
+name = "Andrew Williams"
+homepage = "https://nikdoof.com"
diff --git a/tools/retro-deploy.sh b/tools/retro-deploy.sh
new file mode 100755
index 0000000..76b2048
--- /dev/null
+++ b/tools/retro-deploy.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+# Deploys the retro version of the website. Ran the same way as the branch deploy.
+set -u
+
+TARGET_FOLDER=$(realpath $1)
+BASE_URL="$2"
+
+# Arguments to add to the Hugo call
+HUGO_ARGUMENTS="--gc"
+
+git pull
+hugo --quiet ${HUGO_ARGUMENTS} -b "${BASE_URL}" -d "${TARGET_FOLDER}" -t "lhs-retro"
\ No newline at end of file