Compare commits

...

6 Commits

15 changed files with 205 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
.hugo_build.lock
public/
resources/

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "themes/ananke"]
path = themes/ananke
url = https://github.com/theNewDynamic/gohugo-theme-ananke.git

5
archetypes/default.md Normal file
View File

@@ -0,0 +1,5 @@
+++
date = '{{ .Date }}'
draft = true
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
+++

21
content/en/_index.md Normal file
View File

@@ -0,0 +1,21 @@
---
title: 'Woodlands Methodist Church Glasgow'
description: 'Loving God, loving neighbour'
cascade:
featured_image: 'images/bike_in_sanctuary.jpg'
---
# Welcome
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.
We have Bible studies online and on-site. We also have conversation groups. Please contact us for more details.
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.

31
content/en/finding-us.md Normal file
View File

@@ -0,0 +1,31 @@
---
date: '2024-12-20T12:29:30Z'
title: 'Finding Us'
type: page
menu: main
featured_image: 'images/woodlands-building.jpg'
---
# Location
Our address is 229 Woodlands Road, Glasgow G3 6LW. We're close to Glasgow University and Kelvingrove park.
<iframe width="425" height="350" src="https://www.openstreetmap.org/export/embed.html?bbox=-4.27782565355301%2C55.870051625990826%2C-4.27620828151703%2C55.87138194513709&amp;layer=transportmap&amp;marker=55.87071679126034%2C-4.277016967535019" style="border: 1px solid black"></iframe><br/><small><a href="https://www.openstreetmap.org/?mlat=55.870717&amp;mlon=-4.277017#map=19/55.870717/-4.277017&amp;layers=T">View Larger Map</a></small>
# Bus, subway and trains
Kelvinbridge and St George's Cross are the closest subway stations.
Buses 4/4A and 15 stop on Woodlands Road less than 100m from the church. Buses along the Great Western Road are only a short walk away.
The nearest railway station is Charing Cross, approximately 10 minutes walk from the church.
# Walking and cycling
Many people walk from nearby or through Kelvingrove Park.
Cycles may be brought into the building or locked to the fence outside (behind the wall). There are also regular cycle parking stands just across the road. Please speak to a steward if you need to charge e-bike batteries. Woodlands Road does not have a cycle lane so please exercise caution for the last part of your journey.
# Car
If you need to travel by car, come off the M8 at junction 18 and turn down Woodlands Road. There are a small number of parking spaces on the road directly in front of the building. There are also more metered parking spaces if you turn right directly opposite the church building, on Willowbank Crescent. If you are able to manage the hill, please consider parking behind the church building on Park Drive.

51
hugo.toml Normal file
View File

@@ -0,0 +1,51 @@
baseURL = 'https://www.woodlandsmethodist.org.uk/'
languageCode = 'en-GB'
theme = 'ananke'
defaultContentLanguage = "en"
sectionPagesMenu = "main"
enableRobotsTXT = true
[pagination]
pagerSize = 10
[languages.en]
contentDir = "content/en"
languageCode = 'en-GB'
weight = 1
title = "Woodlands Methodist"
# languageDirection = 'rtl' for Right-To-Left languages
[sitemap]
changefreq = "monthly"
priority = 0.5
filename = "sitemap.xml"
[params]
text_color = "black"
author = ""
favicon = ""
site_logo = ""
description = "Methodist church in the West of Glasgow"
# choose a background color from any on this page: https://tachyons.io/docs/themes/skins/ and preface it with "bg-"
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-white-60"
recent_posts_number = 3
[params.ananke.social.share]
networks = [
"email",
"facebook"
]
[params.ananke.social.follow]
networks = [
"facebook"
]
[params.ananke.social.facebook]
username = "WoodlandsMethodistChurchGlasgow"
# profilelink = "https://www.facebook.com/WoodlandsMethodistChurchGlasgow"

View File

@@ -0,0 +1,27 @@
{{ $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 := .Params.featured_image_class | default "cover bg-center" }}
{{ $cover_dimming_class := site.Params.cover_dimming_class | default "bg-black-60" }}
<header class="{{ $featured_image_class }}" style="background-image: url('{{ $featured_image }}');">
<div class="{{ $cover_dimming_class }}">
{{ partial "site-navigation.html" . }}
<div class="tc-l pv6 ph3 ph4-ns">
{{ if not .Params.omit_header_text }}
<div class="f2 f1-l fw4 black mb0 lh-title">{{ .Title | default .Site.Title }}</div>
{{ with .Params.description }}
<div class="fw1 f5 f3-l black-80 measure-wide-l center lh-copy mt3 mb4">
{{ . }}
</div>
{{ end }}
{{ end }}
</div>
</div>
</header>
{{ else }}
<header>
<div class="{{ .Site.Params.background_color_class | default "bg-black" }}">
{{ partial "site-navigation.html" . }}
</div>
</header>
{{ end }}

View File

@@ -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" }}
<header class="{{ $featured_image_class }}" style="background-image: url('{{ $featured_image }}');">
{{ $cover_dimming_class := site.Params.cover_dimming_class | default "bg-black-60" }}
<div class="{{ $cover_dimming_class }}">
{{ partial "site-navigation.html" .}}
<div class="tc-l pv4 pv6-l ph3 ph4-ns">
<h1 class="f1 f-subheadline-l fw7 black mb0 lh-title">
{{ .Title | default .Site.Title }}
</h1>
{{ with .Params.description }}
<h2 class="fw4 f3 f3-l black measure-wide-l center mt3">
{{ . }}
</h2>
{{ end }}
</div>
</div>
</header>
{{ else }}
<header>
<div class="pb3-m pb6-l {{ .Site.Params.background_color_class | default "bg-black" }}">
{{ partial "site-navigation.html" . }}
<div class="tc-l pv3 ph3 ph4-ns">
<h1 class="f1 f-subheadline-l fw7 light-silver mb0 lh-title">
{{ .Title | default .Site.Title }}
</h1>
{{ with .Params.description }}
<h2 class="fw4 f3 f3-l white-80 measure-wide-l center lh-copy mt3 mb4">
{{ . }}
</h2>
{{ end }}
</div>
</div>
</header>
{{ end }}

View File

@@ -0,0 +1,26 @@
<nav class="pv3 ph3 ph4-ns" role="navigation">
<div class="flex-l justify-between items-center center">
<a href="{{ .Site.Home.RelPermalink }}" class="f3 fw3 hover-white no-underline black-90 dib">
{{ with .Site.Params.site_logo }}
<img src="{{ relURL . }}" class="w100 mw5-ns" alt="{{ $.Site.Title }}" />
{{ else }}
{{ .Site.Title }}
{{ end }}
</a>
<div class="flex-l items-center">
{{ partial "i18nlist.html" . }}
{{ if .Site.Menus.main }}
<ul class="{{ cond (eq $.Site.Language.LanguageDirection "rtl") "pr0 ml3" "pl0 mr3" }}">
{{ range .Site.Menus.main }}
<li class="list f5 f4-ns fw4 dib {{ cond (eq $.Site.Language.LanguageDirection "rtl") "pl3" "pr3" }}">
<a class="hover-white no-underline black-90" href="{{ .URL }}" title="{{ i18n "pageTitle" . }}">
{{ .Name }}
</a>
</li>
{{ end }}
</ul>
{{ end }}
{{ partialCached "social/follow.html" . }}
</div>
</div>
</nav>

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

1
themes/ananke Submodule

Submodule themes/ananke added at 600bddab7c