feat: add more podcast content
This commit is contained in:
parent
92ea3dfb7b
commit
2bc1b51e91
16 changed files with 148 additions and 40 deletions
|
@ -6,17 +6,20 @@ layout: base
|
|||
<article class="[ catalogue ] [ flow ]">
|
||||
{% from "macros/date.njk" import format %}
|
||||
{{ format(date) }}
|
||||
<section class="[ catalogue-meta ] [ gap-1 mb-1 ]">
|
||||
<section class="[ catalogue-meta ] [ flow ]">
|
||||
{% if image %}
|
||||
{% image image, "", "" %}
|
||||
{% endif %}
|
||||
<div>
|
||||
<h1>{{ title }}</h1>
|
||||
{% if subtitle %}<h3 class="[ text-fadeText my-0.5 ]">{{ subtitle }}</h3>{% endif %}
|
||||
{% if author %}<span class="[ text-fadeText ]">by</span> {{ author }}{% endif %}
|
||||
{% import "macros/tags.njk" as tags %}
|
||||
{{ tags.list(filteredTags) }}
|
||||
</div>
|
||||
<h1>{{ title }}</h1>
|
||||
{% if subtitle %}<h3 class="[ text-fadeText my-0.5 ]">{{ subtitle }}</h3>{% endif %}
|
||||
{% if author %}
|
||||
<p>
|
||||
<span class="[ text-fadeText ]">by</span> {{ author }}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% import "macros/tags.njk" as tags %}
|
||||
{{ tags.list(filteredTags) }}
|
||||
</section>
|
||||
<hr class="[ my-3 ]" />
|
||||
{{ content | safe }}
|
||||
</article>
|
||||
|
|
|
@ -6,16 +6,15 @@ layout: base
|
|||
<article class="[ catalogue ] [ flow ]">
|
||||
{% from "macros/date.njk" import format %}
|
||||
{{ format(date) }}
|
||||
<section class="[ catalogue-meta ] [ gap-1 mb-1 ]">
|
||||
<section class="[ catalogue-meta ] [ flow ]">
|
||||
{% if image %}
|
||||
{% image image, "", "" %}
|
||||
{% endif %}
|
||||
<div>
|
||||
<h1>{{ title }}</h1>
|
||||
<h2 class="[ text-fadeText my-0.5 ]">{{ year }}</h2>
|
||||
{% import "macros/tags.njk" as tags %}
|
||||
{{ tags.list(filteredTags) }}
|
||||
</div>
|
||||
<h1>{{ title }}</h1>
|
||||
<h2 class="[ text-fadeText my-0.5 ]">{{ year }}</h2>
|
||||
{% import "macros/tags.njk" as tags %}
|
||||
{{ tags.list(filteredTags) }}
|
||||
</section>
|
||||
<hr class="[ my-3 ]" />
|
||||
{{ content | safe }}
|
||||
</article>
|
||||
|
|
23
src/_layouts/podcast.html
Normal file
23
src/_layouts/podcast.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
layout: base
|
||||
---
|
||||
|
||||
<article class="[ catalogue ] [ flow ]">
|
||||
{% from "macros/date.njk" import format %}
|
||||
{{ format(date) }}
|
||||
<section class="[ catalogue-meta ] [ flow ]">
|
||||
{% if image %}
|
||||
{% image image, "", "" %}
|
||||
{% endif %}
|
||||
<h1>{{ title }}</h1>
|
||||
{% if subtitle %}<h2 class="[ text-fadeText ]">{{ subtitle }}</h2>{% endif %}
|
||||
</section>
|
||||
<hr class="[ my-3 ]" />
|
||||
{{ content | safe }}
|
||||
<a href="{{ url }}"
|
||||
class="[ flex mt-1 items-center gap-0.5 ]"
|
||||
target="_blank"
|
||||
rel="external noreferrer noopener">
|
||||
{% include "svgs/link.svg" %}
|
||||
Listen to the podcast</a>
|
||||
</article>
|
Loading…
Add table
Add a link
Reference in a new issue