mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-14 00:36:48 +00:00
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
extends /template.pug
|
|
|
|
block vars
|
|
- const title = episode.title
|
|
- const description = episode.description
|
|
- const cardImage = episode.image
|
|
- const cardSize = episode.image.match('cloudfront') ? 3000 : 1400
|
|
|
|
block og
|
|
meta(property="og:type" content="article")
|
|
meta(property="og:url" content=`https://einundzwanzig.space/podcast/${episode.slug}/`)
|
|
meta(property="og:audio" content=assetUrl(episode.enclosure.url, "http"))
|
|
meta(property="og:audio:secure_url" content=assetUrl(episode.enclosure.url, "https"))
|
|
meta(property="og:audio:type" content=episode.enclosure.type)
|
|
meta(property="article:section" content="Technology")
|
|
meta(property="article:published_time" content=episode.date)
|
|
meta(property="article:author" content=site.meta.twitterUrl)
|
|
meta(property="twitter:creator" content=site.meta.twitterUrl.replace('https://twitter.com/', ''))
|
|
|
|
block main
|
|
#episode.wrap
|
|
section
|
|
h1= episode.titlePlain
|
|
|
|
+episodePlayer(episode)
|
|
|
|
.content
|
|
!=episode.content
|
|
|
|
if episode.participants.length
|
|
h2 Teilnehmer
|
|
ul.partcipants
|
|
for participant in episode.participants
|
|
li
|
|
if participants[participant]
|
|
a(href=`/team/#${participant}`)= participant
|
|
else
|
|
= participant
|