diff --git a/config.toml b/config.toml index 6fe15ae..47be51c 100644 --- a/config.toml +++ b/config.toml @@ -8,3 +8,6 @@ title = "franconian.net" languageName = "Deutsch" [taxonomies] + +[permalinks] + news = "/:06/:1/:2/:slug/" diff --git a/content/faq.de.md b/content/faq.de.md index ad98001..344be4d 100644 --- a/content/faq.de.md +++ b/content/faq.de.md @@ -2,7 +2,7 @@ title: FAQ menu: main: - weight: 1 + weight: 3 --- #### Was ist die Antwort auf die Frage nach dem Leben, dem Universum und dem ganzen Rest? diff --git a/content/faq.md b/content/faq.md index 8207317..c982b5d 100644 --- a/content/faq.md +++ b/content/faq.md @@ -2,7 +2,7 @@ title: FAQ menu: main: - weight: 1 + weight: 3 --- #### What is "The Answer to the Ultimate Question of Life, the Universe, and Everything"? diff --git a/content/news/_index.de.md b/content/news/_index.de.md new file mode 100644 index 0000000..7ec5bd0 --- /dev/null +++ b/content/news/_index.de.md @@ -0,0 +1,7 @@ +--- +title: News +menu: + main: + weight: 1 +--- + diff --git a/content/news/_index.md b/content/news/_index.md new file mode 100644 index 0000000..7ec5bd0 --- /dev/null +++ b/content/news/_index.md @@ -0,0 +1,7 @@ +--- +title: News +menu: + main: + weight: 1 +--- + diff --git a/content/news/post-01.de.md b/content/news/post-01.de.md new file mode 100644 index 0000000..3e8a458 --- /dev/null +++ b/content/news/post-01.de.md @@ -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. diff --git a/content/news/post-01.md b/content/news/post-01.md new file mode 100644 index 0000000..020debf --- /dev/null +++ b/content/news/post-01.md @@ -0,0 +1,6 @@ +--- +title: Website under construction +date: "2020-11-24" +--- + +Hi, as you might have noticed this website is still under construction. diff --git a/content/program.de.md b/content/program.de.md index 4bba9ad..85cc23d 100644 --- a/content/program.de.md +++ b/content/program.de.md @@ -2,7 +2,7 @@ title: Programm menu: main: - weight: 3 + weight: 4 --- Das Programm erscheint in Kürze. diff --git a/content/program.md b/content/program.md index 5722853..38a1fb5 100644 --- a/content/program.md +++ b/content/program.md @@ -2,7 +2,7 @@ title: Program menu: main: - weight: 3 + weight: 4 --- The schedule for the franconian.net channel will be released shortly. diff --git a/layouts/_default/section.html b/layouts/_default/section.html new file mode 100644 index 0000000..0788ffd --- /dev/null +++ b/layouts/_default/section.html @@ -0,0 +1,12 @@ +{{ define "main" }} + + {{ .Title }} + {{ .Content }} + + {{ range .Pages }} + + {{.Date.Format "2006-01-02"}} | {{.Title}} + + {{ end }} + +{{ end }} diff --git a/layouts/news/single.html b/layouts/news/single.html new file mode 100644 index 0000000..e5d07b2 --- /dev/null +++ b/layouts/news/single.html @@ -0,0 +1,7 @@ +{{ define "main" }} + + {{ .Title }} + {{ .Date.Format "2006-01-02" }} + {{ .Content }} + +{{ end }}
{{ .Date.Format "2006-01-02" }}