mirror of
https://github.com/safing/web
synced 2025-09-01 18:49:06 +00:00
28 lines
No EOL
1.2 KiB
HTML
28 lines
No EOL
1.2 KiB
HTML
<a class="card-blog" href="{{ episode.url }}">
|
|
<div class="card-blog-thumbnail">
|
|
{% if episode.custom_thumbnail_name == null %}
|
|
<img src="{{ site.img_url }}thumbnails/podcast/placeholder.png">
|
|
{% else %}
|
|
<img src="{{ site.img_url }}thumbnails/podcast/{{ episode.custom_thumbnail_name }}.jpg">
|
|
{% endif %}
|
|
<span class="counter">#{{ episode.title | slice: 2, 2 }}</span>
|
|
<span class="box-icon">
|
|
<i class="icon-play text-xl"></i>
|
|
</span>
|
|
</div>
|
|
<div class="card-blog-content">
|
|
<div class="content-wrapper">
|
|
<span class="w-full">
|
|
{% if include.pre_header %}
|
|
{{ include.pre_header }} -
|
|
{% endif %}
|
|
{{ episode.date | date: "%-d. %b %Y" }}
|
|
</span>
|
|
<div class="circular-profile" tooltip="{{ post.author | capitalize }}">
|
|
<img src="{{ site.img_url }}profiles/{{ post.author | downcase }}.png" alt="{{ post.author | capitalize }}">
|
|
</div>
|
|
</div>
|
|
{% assign title_length = episode.title | size %}
|
|
<span>{{ episode.title | slice: 7, title_length }} - #{{ episode.title | slice: 2, 2 }}</span>
|
|
</div>
|
|
</a> |