Skip to content

Commit

Permalink
Also show player on non-page 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzohrab committed Dec 8, 2023
1 parent 35e7843 commit b5e190b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lute/templates/read/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,10 @@ <h2 style="margin: 0px">

<hr />
</div>

{% if pagenum == 1 %}
<h2>{{ book.title }}</h2>
{% endif %}

<div class="audio-player-container">
<audio id="player" preload="metadata" src=""></audio>
Expand Down Expand Up @@ -155,8 +157,6 @@ <h2>{{ book.title }}</h2>
</div>
</div>

{% endif %}

<span id="textid" style="display: none">{{ textid }}</span>
<span id="show_highlights" style="display: none">{{ show_highlights|lower }}</span>

Expand Down

0 comments on commit b5e190b

Please sign in to comment.