Skip to content

Commit

Permalink
anchor links for podcast
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunattam committed Oct 30, 2023
1 parent 7ed5784 commit 2afef0b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions podcast.njk
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ eleventyNavigation:
keep learning.
</p>
<p>14 episodes, recorded between April 2019 to March 2020.</p>
<div>
</div>
</div>

Expand All @@ -39,8 +38,11 @@ eleventyNavigation:
{% for e in podcast.channel.item %}
<div class="tsgr__item">
<div class="info">Episode #{{ e.episode }}{{ e.pubDate | readablePodcastDate }}{{ (e.duration / 60) | round }} mins</div>
<h2>
<h2 id="{{ e.title[0] | slugify }}">
{{ e.title[0] }}
<a class="header-anchor" href="#{{ e.title[0] | slugify }}">
<span aria-hidden="true">#</span>
</a>
</h2>
<p>{{ e.description }}</p>
<details>
Expand All @@ -52,4 +54,4 @@ eleventyNavigation:
Your browser does not support the audio element.
</audio>
</div>
{% endfor %}
{% endfor %}

1 comment on commit 2afef0b

@vercel
Copy link

@vercel vercel bot commented on 2afef0b Oct 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

arjun-is – ./

arjun-is-git-master-arjun27.vercel.app
arjun.is
arjun-is-arjun27.vercel.app
arjun-is.vercel.app

Please sign in to comment.