vorjahre seite, shortcode für 2024
This commit is contained in:
parent
f55c09d419
commit
b879eb37df
2 changed files with 25 additions and 5 deletions
|
@ -1,16 +1,20 @@
|
|||
---
|
||||
omit_header_text: true
|
||||
featured_image: "img/Interfug_Banner.png"
|
||||
date: 2024-01-01
|
||||
---
|
||||
# Interfug 2024: Technikf(|l)u(g|ch)
|
||||
title: "Vorjahre"
|
||||
featured_image: "img/if25_banner.png"
|
||||
---
|
||||
|
||||
## 2024: Technikf(|l)u(g|ch)
|
||||
|
||||
Unter diesem Motto laden wir euch zum Auftakt der 42. Kalenderwoche vom **12. bis 13.10.2024** zu einem gemütlichen Geekend nach **Chemnitz** ins Lokomov ein.
|
||||
Wenn ihr teilnehmen wollt, registriert euch bitte kostenlos unter:
|
||||
https://tickets.chch.it/ChCh/Interfug2024/
|
||||
|
||||
## Fugplan:
|
||||
### Fugplan
|
||||
|
||||
Check-in: Samstag 12:00
|
||||
Take-off: Samstag 16:00
|
||||
Bordverpflegung (Frühstück): Sonntag ab 10:00
|
||||
Landung am Zielfughafen: Sonntag 16:00
|
||||
|
||||
{{< posts-2024 >}}
|
16
layouts/shortcodes/posts-2024.html
Normal file
16
layouts/shortcodes/posts-2024.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
{{/* Get all posts from the posts section */}}
|
||||
{{ $postsSection := site.GetPage "section" "posts" }}
|
||||
{{ $currentYearPosts := where $postsSection.Pages "Date.Year" 2024 }}
|
||||
|
||||
{{/* Display the filtered posts */}}
|
||||
<aside class="flex-ns flex-wrap justify-around mt5">
|
||||
{{ range first 10 $currentYearPosts }} {{/* Show first 10 or remove 'first' for all */}}
|
||||
<div class="relative w-100 w-30-l mb4 bg-white">
|
||||
<article>
|
||||
<h3 class="f4"><a href="{{ .RelPermalink }}" class="link black dim">{{ .Title }}</a></h3>
|
||||
<time class="f6 gray">{{ .Date.Format "January 2, 2006" }}</time>
|
||||
<p class="f5 lh-copy">{{ .Summary }}</p>
|
||||
</article>
|
||||
</div>
|
||||
{{ end }}
|
||||
</aside>
|
Loading…
Add table
Add a link
Reference in a new issue