Initial commit with theme highlights

This commit is contained in:
Jonny007-MKD 2018-08-12 16:22:39 +02:00
commit dc7cc9ab07
6 changed files with 123 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
public

6
.gitmodules vendored Normal file
View File

@ -0,0 +1,6 @@
[submodule "themes/hugo-highlights-theme"]
path = themes/highlights
url = https://github.com/schmanat/hugo-highlights-theme.git
[submodule "themes/highlights"]
path = themes/highlights
url = https://github.com/schmanat/hugo-highlights-theme.git

6
archetypes/default.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

87
config.toml Normal file
View File

@ -0,0 +1,87 @@
baseURL = "https://www.shintai-brv.de/"
languageCode = "de-de"
title = "SHINTAI Judoschule Bremervörde e.V."
theme = "highlights"
Paginate = 10
enableRobotsTXT = true
[blackfriday]
fractions = false
[permalinks]
post = "/:slug/"
page = "/:slug/"
[sitemap]
changefreq = "monthly"
priority = 0.5
filename = "sitemap.xml"
[privacy]
[privacy.disqus]
disable = true
[privacy.googleAnalytics]
disable = true
[privacy.instagram]
disable = true
[privacy.speakerDeck]
[params]
favicon = ""
facebook = ""
twitter = ""
instagram = ""
youtube = ""
github = ""
linkedin = ""
# To provide more meta data for search engings feel free to add a few informations.
# This lines will be inserted as meta tags.
name = "Shintai Judoschule Bremervörde"
description = ""
email = ""
# If this param is set to true, every section gets an own background image (located at static/images)
# to change the image you could use the param picture on every section.
# If it's disabled you could change the background to overwrite the bg.png and overlay.png to set the background.
backgroundpersection = true
[params.hero]
type = "hero"
title = "SHINTAI Judoschule Bremervörde e.V."
description = ""
buttontext = "mehr"
[[params.block]]
id = "kontakt"
type = "text"
title = "Anschrift"
description = "<p>Gnarrenburger Straße 33<br/>27432 Bremervörde</p><p>Ansprechpartner: Christian Walther-Schwone<br/>0160-3012669<br/>sjs.brv@googlemail.com</p>"
buttontext = "next"
# the picture is storead at static/images/
#picture = "pic01.jpg"
[[params.block]]
id = "trainingszeiten"
type = "trainingszeiten"
title = "Trainingszeiten"
# the picture is storead at static/images/
#picture = "pic03.jpg"
[[params.block.item]]
day = "Montag"
description = "Judo, 5 bis 9 Jahre: 18 - 19 Uhr<br/>Judo, 10 bis 14 Jahre: 19 - 20 Uhr<br/>Technik, ab 14 Jahre: 20 - 21 Uhr"
[[params.block.item]]
day = "Mittwoch"
description = "Judo, 5 bis 9 Jahre: 17:30 - 18:30 Uhr<br/>Judo, 10 bis 14 Jahre: 18:30 - 19:30 Uhr<br/>Technik, ab 14 Jahre: 19:30 - 20:15 Uhr<br/>Randori, ab 15 Jahre: 20:15 - 21:00 Uhr"
[[params.block.item]]
day = "Freitag"
description = "Judo, Mädchen, 5 bis 13 Jahre: 17 - 18 Uhr<br/>Judo, Jungen, 5 bis 13 Jahre: 18 - 19 Uhr<br/>Technik, ab 14 Jahre: 19 - 19:45 Uhr"
[[params.block.item]]
day = "Samstag, 1. & 3. Woche im Monat"
description = "Judo-Fitness, Kraft/Ausdauer: 9 - 10 Uhr<br/>Selbstverteidigung: 10 - 11 Uhr"
[[params.block.item]]
day = "Samstag, 2. & 4. Woche im Monat"
description = "Selbstverteidigung: 13 - 14 Uhr<br/>Dan Vorbereitung: 14 - 16 Uhr"

View File

@ -0,0 +1,22 @@
{{ print "<!-- " .block.id " -->" | safeHTML }}
<section id="{{.block.id}}" class="main special">
<div class="container">
{{ if eq .params.backgroundpersection true }}
<span class="image fit primary"><img src="images/{{ with .block.picture }}{{ . }}{{ end }}" alt="" /></span>
{{ end }}
<div class="content">
<header class="major">
<h2>{{ with .block.title }}{{ . | markdownify }}{{ end }}</h2>
</header>
{{ range .block.item }}
<div>
<h3>{{ .day }}</h3>
<span>{{ with .description }}{{ . | markdownify }}{{ end }}</span>
</div>
{{ end }}
</div>
{{ if .next }}
<a href="#{{.next.id}}" class="goto-next scrolly">{{ with .block.buttontext }}{{ . | markdownify }}{{ end }}</a>
{{ end }}
</div>
</section>

1
themes/highlights Submodule

@ -0,0 +1 @@
Subproject commit 48238544054fe7d31234d65e85d8354ab3c42d5a