diff --git a/content/en/_index.md b/content/en/_index.md index 0873da8..d096d1e 100644 --- a/content/en/_index.md +++ b/content/en/_index.md @@ -8,4 +8,12 @@ cascade: # Welcome -We are a small church in the west of Glasgow. +We are an inclusive Methodist church in the west of Glasgow. + +Services are at 11am on Sundays, upstairs in the sanctuary. + +There are lots of groups meeting in the building throughout the week, including recovery groups and bible study groups. + +Find us at 229 Woodlands Road, Glasgow G3 6LW + +We are able to conduct marriages (including same-sex marriages), baptisms, funerals and other services. Contact our minister, Laurent, at laurent.vernet@methodist.org.uk for more information about this or any other activities. diff --git a/hugo.toml b/hugo.toml index fb04dc0..9487f7f 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,6 +1,5 @@ baseURL = 'https://example.org/' languageCode = 'en-GB' -title = 'Woodlands Methodist Glasgow' theme = 'ananke' defaultContentLanguage = "en" @@ -24,7 +23,6 @@ filename = "sitemap.xml" [params] text_color = "black" -header_text_color = "black" author = "" favicon = "" site_logo = "" @@ -34,7 +32,7 @@ background_color_class = "bg-dark-gray" # choose fitting and alignment styles for the featured image using Tachyons classes such as "cover|contain" for fitting and "bg-top|bg-center|bg-bottom" for alignment, or add any other class space-separated to customize further featured_image_class = "cover bg-center" # choose a color dimming class for the page or site header from any on this page: https://tachyons.io/docs/themes/skins/, preface it with "bg-" and add the value such as "-X0" where X is in [1,9] -cover_dimming_class = "bg-black-60" +cover_dimming_class = "bg-white-60" recent_posts_number = 3 [params.ananke.social.share] diff --git a/layouts/partials/site-header.html b/layouts/partials/site-header.html new file mode 100644 index 0000000..2bcffe4 --- /dev/null +++ b/layouts/partials/site-header.html @@ -0,0 +1,37 @@ +{{ $featured_image := partial "func/GetFeaturedImage.html" . }} +{{ if $featured_image }} + {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} + {{ $featured_image_class := site.Params.featured_image_class | default "cover bg-top" }} +
+ {{ $cover_dimming_class := site.Params.cover_dimming_class | default "bg-black-60" }} +
+ {{ partial "site-navigation.html" .}} +
+

+ {{ .Title | default .Site.Title }} +

+ {{ with .Params.description }} +

+ {{ . }} +

+ {{ end }} +
+
+
+{{ else }} +
+
+ {{ partial "site-navigation.html" . }} +
+

+ {{ .Title | default .Site.Title }} +

+ {{ with .Params.description }} +

+ {{ . }} +

+ {{ end }} +
+
+
+{{ end }} diff --git a/layouts/partials/site-navigation.html b/layouts/partials/site-navigation.html new file mode 100644 index 0000000..8f1fafe --- /dev/null +++ b/layouts/partials/site-navigation.html @@ -0,0 +1,26 @@ +