1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-07-22 17:18:37 +00:00

Do not show top naviguation if the content is very short

This commit is contained in:
Frédéric Guillot 2017-12-04 21:09:08 -08:00
parent 321d7182ae
commit 56e9a2fdd6
2 changed files with 6 additions and 2 deletions

View file

@ -39,9 +39,11 @@
<time datetime="{{ isodate .entry.Date }}" title="{{ isodate .entry.Date }}">{{ elapsed .entry.Date }}</time>
</div>
</header>
{{ if gt (len .entry.Content) 120 }}
<div class="pagination-top">
{{ template "entry_pagination" . }}
</div>
{{ end }}
<article class="entry-content">
{{ noescape (proxyFilter .entry.Content) }}
</article>