diff --git a/content/_index.md b/content/_index.md index 96bcb74..97ed7af 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,5 +1,5 @@ --- -title: Welcome to Leigh Hackspace! +title: Welcome! subtitle: Leigh Hackspace is an accessible workspace, where members come together to learn new skills, share ideas and build awesome things! layout: home --- diff --git a/content/about/index.md b/content/about/index.md index 378cdec..c13fd58 100644 --- a/content/about/index.md +++ b/content/about/index.md @@ -1,6 +1,6 @@ --- -title: About Leigh Hackspace -subtitle: An accessible, social workspace, where you can meet people, learn new skills, and build awesome things! +title: About Us +subtitle: Who we are, and what we do show_big_cta: true --- ### What is Leigh Hackspace? diff --git a/content/membership.md b/content/membership.md index 1ded03e..e06917f 100644 --- a/content/membership.md +++ b/content/membership.md @@ -1,7 +1,7 @@ --- title: Join Leigh Hackspace subtitle: Become part of our community. -layout: membership +hero_image: /images/hero-img.svg --- Leigh Hackspace is a social enterprise created for the benefit of our members and the wider Leigh community. We depend on memeberships and grants to operate, and in return we offer members access to the hackspace's facilities and resources. diff --git a/themes/lhs/layouts/_default/baseof.html b/themes/lhs/layouts/_default/baseof.html index fa41d61..f63d10a 100644 --- a/themes/lhs/layouts/_default/baseof.html +++ b/themes/lhs/layouts/_default/baseof.html @@ -12,21 +12,31 @@ {{ block "hero" . }}
- {{ $img := resources.Get (default "/images/hero-bg.jpg" .Params.hero_image) }} - {{ $img = $img.Resize "1256x jpg" }} -
+
- {{ block "hero-content" . }} -
-
-

{{ block "title" . }}{{ end }}

-

{{ block "subtitle" . }}{{ end }}

-

-

+
+
+
+ +
+ {{ block "hero-content" . }} +

{{ .Title }}

+

{{ .Params.subtitle }}

+ {{ end }} +
+ +
+ {{ block "hero-image" . }} + {{ if .Params.hero_image }} + + {{ end }} + {{ end }} +
+ +
- {{ end }}
diff --git a/themes/lhs/layouts/page/home.html b/themes/lhs/layouts/page/home.html index 6afcfe2..e9d8319 100644 --- a/themes/lhs/layouts/page/home.html +++ b/themes/lhs/layouts/page/home.html @@ -1,22 +1,14 @@ {{ define "hero-content" }} -
+

{{ .Title }}

+

{{ .Params.subtitle }}

-
-

{{ .Title }}

-

-

{{ .Params.subtitle }}

-

- -
- - - -
+ diff --git a/themes/lhs/layouts/page/membership.html b/themes/lhs/layouts/page/membership.html deleted file mode 100644 index 8f4990c..0000000 --- a/themes/lhs/layouts/page/membership.html +++ /dev/null @@ -1,35 +0,0 @@ -{{ define "hero" }} -
-
-
-
- -
-
-
- -
-

{{ .Title }}

-

{{ .Params.subtitle }}

-
- -
- -
- -
-
-
-
-
-
-
-{{ end }} - -{{ define "content" }} -{{ .Content }} -{{ end }} - -{{ define "cta" }} -

-{{ end }} \ No newline at end of file