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:
parent
321d7182ae
commit
56e9a2fdd6
2 changed files with 6 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue