Skip to content

Commit

Permalink
Show page counts on chapter cards
Browse files Browse the repository at this point in the history
  • Loading branch information
hkalexling committed Apr 2, 2020
1 parent 7c97286 commit ac3df03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/title.ecr
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
<div class="uk-card-body">
<div class="uk-card-badge uk-label"><%= (percentage[i] * 100).round(1) %>%</div>
<h3 class="uk-card-title break-word" data-title="<%= e.title.gsub("\"", "&quot;") %>"><%= e.title %></h3>
<p><%= e.pages %> pages</p>
</div>
</div>
</a>
Expand Down

0 comments on commit ac3df03

Please sign in to comment.