mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-13 08:16:49 +00:00
running filterfrei
introducing category "filterfrei" to einundzwanzig
This commit is contained in:
@@ -17,6 +17,7 @@ mixin categories(current)
|
||||
li: a(href="/podcast/der-weg/" class=(current === 'Der Weg' && 'current')).der-weg Der Weg
|
||||
li: a(href="/podcast/on-tour/" class=(current === 'On Tour' && 'current')).on-tour On Tour
|
||||
li: a(href="/podcast/nostrtalk/" class=(current === 'NostrTalk' && 'current')).nostrtalk NostrTalk
|
||||
li: a(href="/podcast/filterfrei/" class=(current === 'FilterFrei' && 'current')).filterfrei FilterFrei
|
||||
li: a(href="/podcast/verschiedenes/" class=(current === 'Verschiedenes' && 'current')).verschiedenes Verschiedenes
|
||||
|
||||
mixin map(id, markers)
|
||||
|
||||
@@ -22,6 +22,9 @@
|
||||
/podcast/verschiedenes-01-keep-the-nostr-weird/ /podcast/nostrtalk-01-keep-the-nostr-weird/
|
||||
/podcast/verschiedenes-02-central-weinkeller-of-failure/ /podcast/nostrtalk-02-central-weinkeller-of-failure/
|
||||
/podcast/verschiedenes-233-stacking-until-midnight/ /podcast/news-233-stacking-until-midnight/
|
||||
/podcast/nostrtalk-11-sei-dein-eigener-held/ /podcast/filterfrei-1-sei-dein-eigener-held/
|
||||
|
||||
https://einundzwanzig.space/
|
||||
|
||||
/team/MarkusTurm /team/markus
|
||||
/team/fabthefoxx /team/fab
|
||||
|
||||
@@ -55,6 +55,7 @@ const parseEpisode = e => {
|
||||
if (categoryName === 'Buchclub') categoryName = 'Lesestunde'
|
||||
if (categoryName === 'reCATion') categoryName = 'Verschiedenes'
|
||||
if (categoryName === 'NostrTalk') categoryName = 'NostrTalk'
|
||||
if (categoryName === 'FilterFrei') categoryName = 'FilterFrei'
|
||||
const lines = descriptionPlain.trim().split('\n')
|
||||
const firstLine = lines.find(l => l.match(regexBlockzeit)) || lines[0] || ''
|
||||
const blockMatch = firstLine.match(regexBlockzeit)
|
||||
@@ -63,7 +64,7 @@ const parseEpisode = e => {
|
||||
const slug = slugify(`${categoryName} ${number || ''} ${titlePlain}`)
|
||||
const date = new Date(e.pubDate)
|
||||
const img = e['itunes:image'].__attr.href
|
||||
const image = ['interview', 'lesestunde', 'on-tour', 'nostrtalk', 'verschiedenes'].includes(category)
|
||||
const image = ['interview', 'lesestunde', 'on-tour', 'nostrtalk', 'filterfrei', 'verschiedenes'].includes(category)
|
||||
? img
|
||||
: `/img/cover/${category}.png`
|
||||
const duration = e['itunes:duration']
|
||||
|
||||
@@ -19,6 +19,7 @@ const categories = {
|
||||
'der-weg': 'Der Weg',
|
||||
'on-tour': 'On Tour',
|
||||
'nostrtalk': 'NostrTalk',
|
||||
'filterfrei': 'FilterFrei',
|
||||
'verschiedenes': 'Verschiedenes'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user