diff --git a/content/_index/index.de.md b/content/index.de.md similarity index 100% rename from content/_index/index.de.md rename to content/index.de.md diff --git a/content/_index/index.en.md b/content/index.en.md similarity index 100% rename from content/_index/index.en.md rename to content/index.en.md diff --git a/content/infotreff/index.de.md b/content/infotreff/index.de.md index d816ec4b8465fde6226419251c15f11eeda9a33d..f87aee4da8c0791a4ea5db499494d010079edc8d 100644 --- a/content/infotreff/index.de.md +++ b/content/infotreff/index.de.md @@ -3,11 +3,11 @@ title: "InfoTreff" menu: "main" weight: 6 layout: infotreff -image: images/cafe.jpeg +image: cafe.jpeg --- -Der Treffpunkt für Studis, wo andere Informatik-Studis und Profs für euch leckeren Kaffee kochen. Kleine Snacks wie Schokoriegel, Eis, Müsli, Couscous-Salat und 5-Minuten-Terrinen gibt es natürlich auch! +Der Treffpunkt für Studis, wo andere Informatik-Studis und Profs für euch leckeren Kaffee kochen. Kleine Snacks wie Schokoriegel, Eis, Müsli, Couscous-Salat und 5-Minuten-Terrinen gibt es natürlich auch! -Es ist einfach der perfekte Ort, um neue Leute kennenzulernen, gemeinsam Zeit zu verbringen und leckeren Kaffee, Kakao oder Tee zu trinken! +Es ist einfach der perfekte Ort, um neue Leute kennenzulernen, gemeinsam Zeit zu verbringen und leckeren Kaffee, Kakao oder Tee zu trinken! -Kommt gerne einfach vorbei, wir freuen uns auf euch! \ No newline at end of file +Kommt gerne einfach vorbei, wir freuen uns auf euch! diff --git a/content/infotreff/index.en.md b/content/infotreff/index.en.md index e6fdd9c017bd7a4b6263c9580e862e1ebf6e2f15..9fa9c70e3c1ebaf6ae157848a10ceedbe1ccf33e 100644 --- a/content/infotreff/index.en.md +++ b/content/infotreff/index.en.md @@ -3,11 +3,11 @@ title: "InfoTreff - Café" menu: "main" weight: 6 layout: infotreff -image: images/cafe.jpeg +image: cafe.jpeg --- -The meeting place for students, where other computer science students and professors make delicious coffee for you. Small snacks such as chocolate bars, ice cream, muesli, couscous salad and 5-minute terrines are of course also available! +The meeting place for students, where other computer science students and professors make delicious coffee for you. Small snacks such as chocolate bars, ice cream, muesli, couscous salad and 5-minute terrines are of course also available! -It's simply the perfect place to meet new people, spend time together and drink delicious coffee, cocoa or tea! +It's simply the perfect place to meet new people, spend time together and drink delicious coffee, cocoa or tea! -Just drop by, we look forward to seeing you! \ No newline at end of file +Just drop by, we look forward to seeing you! diff --git a/data/de/homepage.yml b/data/de/homepage.yml index d77df23c28e9a6c3f86c1d71f6af7ce0a4f27179..2f86a06b5c835dec410c2955241e92044e75c2ee 100644 --- a/data/de/homepage.yml +++ b/data/de/homepage.yml @@ -1,6 +1,6 @@ banner: enable: true - image: "/images/banner.jpeg" + image: "content/media/banner.jpeg" items: - type: heading heading: Herzlich Willkommen! diff --git a/layouts/_default/infotreff.html b/layouts/_default/infotreff.html index f040d9e5c8afa0620f29de77f978d41c307f8ca7..e7c1c40468b3d8ca2302a6c5f7b69e843ba6d327 100644 --- a/layouts/_default/infotreff.html +++ b/layouts/_default/infotreff.html @@ -12,6 +12,6 @@ {{ .Content }} </section> - <img src="{{ .Params.image | relURL }}" class="col-6 col-12-narrower"> + <img src='{{.Page.Permalink}}media/{{.Param "image"}}' class="col-6 col-12-narrower"> </div> {{ end }} \ No newline at end of file diff --git a/content/_index/media/banner.jpeg b/static/images/banner.jpeg similarity index 100% rename from content/_index/media/banner.jpeg rename to static/images/banner.jpeg