Skip to content

Commit

Permalink
add reading time to links on home page
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Feb 6, 2024
1 parent f6bee24 commit c76c612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/index.html
Expand Up @@ -17,7 +17,7 @@ <h1>👋 Hey there!</h1>
<div class="post">
<h2>latest post: <a href="{{ posts.pages[0].path | safe }}">{{ posts.pages[0].title | markdown(inline=true) | safe }}</a></h2>
{{ posts.pages[0].summary | safe }}
<a href="{{ posts.pages[0].path | safe }}" class="text-button">Keep Reading &rarr;</a>
<a href="{{ posts.pages[0].path | safe }}" class="text-button">Keep Reading ({{ posts.pages[0].reading_time }} minutes) &rarr;</a>
</div>

<div class="now">
Expand All @@ -31,7 +31,7 @@ <h2 class="deemphasized"><a href="{{ projects.0.path | safe }}">currently: {{ pr
<h2 class="deemphasized">latest micropost: <a href="{{ micro.pages[0].path | safe }}">{{ micro.pages[0].title | markdown(inline=true) | safe }}</a></h2>
{{ micro.pages[0].summary | safe }}

<a href="{{ micro.pages[0].path | safe }}" class="text-button">Keep Reading &rarr;</a>
<a href="{{ micro.pages[0].path | safe }}" class="text-button">Keep Reading ({{ micro.pages[0].reading_time }} minutes) &rarr;</a>
</div>
</div>

Expand Down

0 comments on commit c76c612

Please sign in to comment.