Tried to structure content according themes requirements, this Hextra theme is straight out of hell! (Menu contentss to be defined in hugo.yaml, reserved names for folders, etc.)

This commit is contained in:
Reto Bollinger 2024-11-12 22:38:48 +01:00
parent 57f2ac7a32
commit 5c605807f4
7 changed files with 119 additions and 12 deletions

View file

@ -1,11 +1,10 @@
---
title: "Pistolenclub Stammertal"
date: 2023-11-14T20:14:29+01:00
cascade:
type: docs
layout: hextra-home
---
## Willkommen beim Pistolenclub Stammertal
{{< hextra/hero-headline >}}
Willkommen beim Pistolenclub Stammertal
{{< /hextra/hero-headline >}}
![PC Stammertal](/images/logo.svg)

View file

@ -1,6 +1,9 @@
---
title: "Wir über uns"
date: 2023-11-14T22:24:04+01:00
linkTitle: Über uns
title: Das wichtigste in Kürze
weight: 1
cascade:
type: docs
---
## Vereinszweck, Verbandszugehörigkeit

View file

@ -1,6 +1,9 @@
---
title: "Vorstand"
date: 2023-11-14T23:18:32+01:00
weight: 2
cascade:
type: docs
---
Ulrich Roland, Präsident<br/>
8476 Unterstammheim

View file

@ -1,7 +1,11 @@
---
title: "Unsere Termine"
date: 2024-03-22T18:11:36+01:00
title: Unsere Termine
weight: 1
prev: /about
cascade:
type: docs
---
| Datum | Anlass | Zeit | Ort |
|---------|----------|------|-----|
| Mo, 01. April | Kein Traning Ostermontag| | |

View file

@ -1,6 +1,9 @@
---
title: "PC Stammertal"
date: 2023-11-14T23:08:36+01:00
weight: 3
cascade:
type: docs
---
| <!-- --> | <!-- --> |
|-------------|-------------|

View file

@ -7,4 +7,93 @@ module:
markup:
goldmark:
renderer:
unsafe: true
unsafe: true
highlight:
noClasses: false
enableInlineShortcodes: true
menu:
main:
- identifier: about
name: Über uns
pageRef: /about
weight: 1
# sidebar:
# - identifier: about
# name: Über uns
# pageRef: /about
# weight: 1
params:
description: Lerne schiessen, treffe Freunde.
navbar:
displayTitle: true
displayLogo: true
logo:
path: images/logo.svg
# width: 40
# height: 20
# link: /
width: wide
page:
# full (100%), wide (90rem), normal (1280px)
width: normal
theme:
# light | dark | system
default: system
displayToggle: true
footer:
enable: true
displayCopyright: true
displayPoweredBy: true
width: normal
displayUpdatedDate: true
dateFormat: "January 2, 2006"
# Search
# flexsearch is enabled by default
search:
enable: true
type: flexsearch
flexsearch:
# index page by: content | summary | heading | title
index: content
# full | forward | reverse | strict
# https://github.com/nextapps-de/flexsearch/#tokenizer-prefix-search
tokenize: forward
editURL:
enable: false
# base: "https://github.com/imfing/hextra/edit/main/exampleSite/content"
highlight:
copy:
enable: true
# hover | always
display: hover
comments:
enable: false
type: giscus
# https://giscus.app/
giscus:
repo: imfing/hextra
repoId: R_kgDOJ9fJag
category: General
categoryId: DIC_kwDOJ9fJas4CY7gW
# mapping: pathname
# strict: 0
# reactionsEnabled: 1
# emitMetadata: 0
# inputPosition: top
# lang: en

View file

@ -0,0 +1,6 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/quicklink/2.3.0/quicklink.umd.js"></script>
<script>
window.addEventListener("load", () => {
quicklink.listen();
});
</script>