Compare commits

...

4 Commits

12 changed files with 145 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 }}'
+++

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

@@ -0,0 +1,19 @@
---
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 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.

51
hugo.toml Normal file
View File

@@ -0,0 +1,51 @@
baseURL = 'https://example.org/'
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,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

1
themes/ananke Submodule

Submodule themes/ananke added at 600bddab7c