mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-14 00:36:48 +00:00
🛠 Podcast categories and player
This commit is contained in:
16
src/category.pug
Normal file
16
src/category.pug
Normal file
@@ -0,0 +1,16 @@
|
||||
extends /template.pug
|
||||
|
||||
block main
|
||||
- const current = episodes.shift()
|
||||
|
||||
section#podcast
|
||||
h1.centered= categoryName
|
||||
|
||||
h2.centered Aktuelle Episode
|
||||
.current
|
||||
+episodePlayer(current).centered
|
||||
|
||||
h2.centered Weitere Episoden
|
||||
.episodes
|
||||
each e in episodes
|
||||
+episodeItem(e)
|
||||
Reference in New Issue
Block a user