1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-07-02 16:38:37 +00:00

Add "Mark this page as read" to the bottom

This better matches the most common use case for the "Mark this page as
read" link, which is to click it once you have reached the bottom of the
page. Especially on mobile, it can be annoying to scroll to the top of
the page to click the link.
This commit is contained in:
Adam Vigneaux 2018-09-08 21:40:23 -04:00 committed by Frédéric Guillot
parent eee1f31903
commit 07cd7d2135
6 changed files with 86 additions and 24 deletions

View file

@ -34,6 +34,15 @@
</article>
{{ end }}
</div>
<section class="page-footer">
{{ if .entries }}
<ul>
<li>
<a href="#" data-on-click="markPageAsRead">{{ t "Mark this page as read" }}</a>
</li>
</ul>
{{ end }}
</section>
{{ template "pagination" .pagination }}
{{ end }}