Skip to content

Commit f1fe9ea

Browse files
Add YouTube and music player icon next to post date in post details
1 parent 6f93f10 commit f1fe9ea

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

_layouts/blog-post.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,19 @@ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}
1111
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
1212
{{ page.date | date: site.date_format }}
1313
</time>
14+
<span class="post-meta text-muted">&nbsp;</span>
15+
{%- if page.youtube -%}
16+
<span>
17+
<a href="{{ page.youtube }}" class="d-inline-flex align-items-center">
18+
<em class="bi bi-youtube youtube-red fs-2 mr-2"></em>
19+
</a>
20+
</span>
21+
{%- endif -%}
22+
<span>
23+
<a href="https://traffic.libsyn.com/lescastcodeurs/LesCastCodeurs-Episode-{{page.episode}}.mp3" class="d-inline-flex align-items-center">
24+
<em class="bi bi-music-player music-player-black fs-2 mr-2"></em>
25+
</a>
26+
</span>
1427
</p>
1528
</header>
1629

0 commit comments

Comments
 (0)