This commit is contained in:
Martin Müller 2020-11-24 22:47:15 +01:00
parent 97846757cd
commit 0252625643
11 changed files with 52 additions and 4 deletions

View File

@ -8,3 +8,6 @@ title = "franconian.net"
languageName = "Deutsch" languageName = "Deutsch"
[taxonomies] [taxonomies]
[permalinks]
news = "/:06/:1/:2/:slug/"

View File

@ -2,7 +2,7 @@
title: FAQ title: FAQ
menu: menu:
main: main:
weight: 1 weight: 3
--- ---
#### Was ist die Antwort auf die Frage nach dem Leben, dem Universum und dem ganzen Rest? #### Was ist die Antwort auf die Frage nach dem Leben, dem Universum und dem ganzen Rest?

View File

@ -2,7 +2,7 @@
title: FAQ title: FAQ
menu: menu:
main: main:
weight: 1 weight: 3
--- ---
#### What is "The Answer to the Ultimate Question of Life, the Universe, and Everything"? #### What is "The Answer to the Ultimate Question of Life, the Universe, and Everything"?

View File

@ -0,0 +1,7 @@
---
title: News
menu:
main:
weight: 1
---

7
content/news/_index.md Normal file
View File

@ -0,0 +1,7 @@
---
title: News
menu:
main:
weight: 1
---

View File

@ -0,0 +1,6 @@
---
title: Webseite im Aufbau
date: "2020-11-24"
---
Hi, wie du vielleicht schon gemerkt hast, befindet sich diese Webseite noch im Aufbau.

6
content/news/post-01.md Normal file
View File

@ -0,0 +1,6 @@
---
title: Website under construction
date: "2020-11-24"
---
Hi, as you might have noticed this website is still under construction.

View File

@ -2,7 +2,7 @@
title: Programm title: Programm
menu: menu:
main: main:
weight: 3 weight: 4
--- ---
Das Programm erscheint in Kürze. Das Programm erscheint in Kürze.

View File

@ -2,7 +2,7 @@
title: Program title: Program
menu: menu:
main: main:
weight: 3 weight: 4
--- ---
The schedule for the franconian.net channel will be released shortly. The schedule for the franconian.net channel will be released shortly.

View File

@ -0,0 +1,12 @@
{{ define "main" }}
<main>
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ range .Pages }}
<li>
<a href="{{.Permalink}}">{{.Date.Format "2006-01-02"}} | {{.Title}}</a>
</li>
{{ end }}
</main>
{{ end }}

7
layouts/news/single.html Normal file
View File

@ -0,0 +1,7 @@
{{ define "main" }}
<main>
<h1>{{ .Title }}</h1>
<p>{{ .Date.Format "2006-01-02" }}</p>
{{ .Content }}
</main>
{{ end }}