1
0
Fork 0

Move posts into subdirectory and overlay mount them

This allows english and german to share posts, but doesn't prevent them
from having multi language posts.

Signed-off-by: Wachtl Enterprises LLC <tyrolyean@escpe.net>
This commit is contained in:
Wachtl Enterprises LLC 2025-01-23 19:12:35 +01:00 committed by tyrolyean
parent 2c0929f172
commit 997b8f930e
88 changed files with 53 additions and 15 deletions
hugo.toml
posts
2014-04-17-ancient-anguish.md2014-04-17-racing-timer.md2014-04-18-atari-punk-console.md2014-04-18-el-wire-workshop-dont-panic.md2014-04-18-el-wire-workshop.md2014-04-21-arduino-workshop.md2014-04-21-mini-drone.md2014-04-21-workshop.md2014-04-27-bleep-drum.md2014-04-27-taming-pythons.md2014-05-07-year11party-dont-panic!.md2014-07-03-wefixedit.md2014-07-07-git-workshop.md2014-07-16-robelux-nimmt-gestalt-an.md2014-08-01-pcb-herstellung-@-it-syndikat.md2014-08-13-.und-plötzlich-öffnet-sich-ein-portal-im-hackerspace..md2014-08-31-1.-innsbrucker-repair-cafe.md2014-09-30-neues-haustier-im-hackerspace.md2014-10-15-3d-drucker-update!.md2014-10-15-basilikum-o-meter.md2014-10-15-reparaturen.md2014-10-30-platinen-workshop.md2014-11-05-3d-printer-update.md2014-12-18-the-lasercutter-works!.md2014-12-27-it-syndikat-@-31c3.md2015-01-03-talk-contributing-to-the-internet-engineering-task-force-(ietf).md2015-01-15-repaircafé-im-hackerspace.md2015-02-02-tag-der-technik-an-der-htl-anichstraße.md2015-02-07-temporary-space-invasion-iii-save-the-date!.md2015-02-09-artist-in-residence-call-for-submissions.md2015-04-03-space-invasion-programm-und-anmeldung.md2015-04-19-day-0.md2015-04-19-space-invaded.md2015-05-02-day-of-the-tentacle.md2015-05-16-der-kritzler-mein-kleines-spaceinvasion-projekt.md2015-06-08-cryptoparty-e-mail-verschlüsselung-mit-pgp-und-browsersicherheit.md2015-06-12-linux-container-wie-funktionieren-sie-und-was-muss-beachtet-werden.md2015-06-20-wie-kondensatoren-altern.md2015-06-24-blickwinkelabhängiges-eingangsschild.md2015-06-26-debugging-unter-linux.md2015-07-02-kundgebung-gegen-das-staatsschutzgesetz.md2015-08-10-retrocryptoparty-enigma-loveletters-from-alice.md2015-10-27-retrocryptoparty-enigma-einige-eindrücke.md2015-12-27-congress!-32c3.md2016-03-07-temporary-space-invasion-4-inter-act!.md2016-08-26-cryptoparty-ransomware-datenverschlüsselung-leicht-gemacht.md2016-11-09-oscilloscope-music-@-it-syndikat.md2016-11-12-kritzler-kritzelt-xkcd.md2016-12-31-ein-paar-eindrücke-vom-33c3.md2017-02-10-geekend!-all-you-can-hack-7.-9.-april-@-kochlokal.md2017-05-09-stammtisch-gegen-das-überwachungspaket-der-bundesregierung.md2017-06-23-kundgebung-gegen-des-überwachungspaket.md2018-01-07-year-111-party.md2018-03-18-commodore-1161-restauration.md2018-03-20-tor-hidden-services-und-relay!.md2018-03-22-x61s-bastelstunde.md2018-03-28-retro!.md2018-04-12-podiumsdiskussion-innsbruck-nichts-zu-verbergen-notwendigkeit-und-gefahren-staatlicher-überwachung.md2018-04-27-led-backlight-für-ältere-displays.md2018-05-21-towel-day!-25.-mai.md2018-06-26-eure-sicherheit-tötet!-#nosigi.md2018-08-25-#saveyourinternet-aktionstag-am-26.-august-2018.md2019-03-14-einladung-foto-aktion-und-kundgebung-zur-eu-copyright-reform.md2019-03-21-demo-gegen-die-eu-urheberrechtsreform-am-samstag.md2019-05-09-wireguard-und-co..md2019-05-14-towel-day-im-restaurant-am-ende-des-universums.md2019-08-18-elektrogravur.md2020-02-25-quantencomputing-in-innsbruck.md2020-04-25-sf400-lasercutter.md2020-09-25-blinkenwall-v0.0.1_rev.2.md2020-10-23-aktuelle-situation-betreffend-vereinsbesuche-und-open-tuesday-auf-grund-von-covid-19.md2021-01-15-discourse-und-sekondäre-tor-.onion-services.md2021-01-17-tls-monitoring-für-unsere-infrastruktur.md2021-05-01-online-workshop-yocto-crashkurs.md2021-08-07-year-10+1-party-des-it-syndikat!-(neues-datum).md2021-08-07-year-10+1-party-des-it-syndikat!.md2021-11-23-digital-open-tuesday.md2022-03-21-party-2022-04-17-tinnitus-syndikat.md2022-06-15-spacecouch-repair.md2022-08-22-open-hackerspace-day.md2023-07-06-verein-war-temporär-über-leopoldstrasse-zu-erreichen.md2024-01-03-37c3-redux-talks-nachschauen.md2024-05-25-party-in-pmk-am-31.05.2024.md2024-10-10-factorio-2.0-release-party.md2024-10-10-save-the-date-geekend-#1-2025-in-innsbruck.md2025-01-12-twitter-und-facebook-accounts-aufgelassen.md2025-01-19-new-website.md

View file

@ -8,9 +8,30 @@ enableRobotsTXT = false
defaultContentLanguage = 'de'
defaultContentLanguageInSubdir = false
# Explanation of the below mounts:
# To be able to have posts in multiple languages, we overlay mount the given
# directory under both languages. This way, you can build the main post either
# in english or german, and as long as the file in the language you want has the
# same name, you will have a multilanguage post
[module]
[[module.imports]]
path = "github.com/kaushalmodi/hugo-atom-feed"
[[module.mounts]]
source = "posts"
target = "content/posts"
lang = "de"
[[module.mounts]]
source = "posts"
target = "content/posts"
lang = "en"
[[module.mounts]]
source = "content/de"
target = "content"
lang = "de"
[[module.mounts]]
source = "content/en"
target = "content"
lang = "en"
[Params]
description = "Innsbrucks Hackerspace. Chaostreff, offene Werkstatt, Wohnzimmer mit Labormöglichkeit" # Site description. Used in meta description
@ -99,32 +120,49 @@ defaultContentLanguageInSubdir = false
[Params.widgets.taglist]
cached = true
[menu]
[[menu.main]]
identifier = "home"
[languages.en.menus]
[[languages.en.menus.main]]
name = "home"
pageRef = "/"
pageRef = "/en/"
weight = 1
[[menu.main]]
identifier = "projects"
[[languages.en.menus.main]]
name = "projekte"
pageRef = "/tags/projekte/"
pageRef = "/en/tags/projekte/"
weight = 2
[[menu.main]]
identifier = "tor"
[[languages.en.menus.main]]
name = "tor"
url = "http://q2iswo6k4cgs7kyxls3gt53duxbsxu6u6udawtwudadjljq4s4nfruqd.onion"
weight = 99
[[menu.footer]]
identifier = "source"
[[languages.en.menus.footer]]
name = "Source code"
url = "https://git.it-syndikat.org/IT-Syndikat/website"
[[menu.side]]
identifier = "forum"
[[languages.en.menus.side]]
name = "Forum"
url = "https://meta.it-syndikat.org"
[[menu.side]]
identifier = "git"
[[languages.en.menus.side]]
name = "Git"
url = "https://git.it-syndikat.org"
[languages.de.menus]
[[languages.de.menus.main]]
name = "home"
pageRef = "/"
weight = 1
[[languages.de.menus.main]]
name = "projekte"
pageRef = "/tags/projekte/"
weight = 2
[[languages.de.menus.main]]
name = "tor"
url = "http://q2iswo6k4cgs7kyxls3gt53duxbsxu6u6udawtwudadjljq4s4nfruqd.onion"
weight = 99
[[languages.de.menus.footer]]
name = "Source code"
url = "https://git.it-syndikat.org/IT-Syndikat/website"
[[languages.de.menus.side]]
name = "Forum"
url = "https://meta.it-syndikat.org"
[[languages.de.menus.side]]
name = "Git"
url = "https://git.it-syndikat.org"