mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-13 16:26:50 +00:00
29 lines
1014 B
Plaintext
29 lines
1014 B
Plaintext
extends /template.pug
|
|
|
|
block vars
|
|
- const title = episode.title
|
|
- const description = episode.descriptionPlain
|
|
- 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://x.com/', ''))
|
|
|
|
block main
|
|
#episode.wrap
|
|
section
|
|
h1= episode.titlePlain
|
|
|
|
+episodePlayer(episode)
|
|
|
|
.content
|
|
!=episode.description
|