diff options
| author | Jieiku | 2022-06-11 20:44:13 -0700 |
|---|---|---|
| committer | Jieiku | 2022-06-11 20:44:13 -0700 |
| commit | 8546859c9d6cbf5347091a36680f7c07440a441a (patch) | |
| tree | 00ac04f0218c4ef8adf80ff27f42391966061909 /templates/page.html | |
| parent | d4382358d8fc7f0bc66a86b8fe4bb6d8bafadd15 (diff) | |
| download | abridge-8546859c9d6cbf5347091a36680f7c07440a441a.tar.gz abridge-8546859c9d6cbf5347091a36680f7c07440a441a.tar.bz2 abridge-8546859c9d6cbf5347091a36680f7c07440a441a.zip | |
Hide Back-to-Top on Short Pages
Diffstat (limited to 'templates/page.html')
| -rw-r--r-- | templates/page.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/page.html b/templates/page.html index c653018..eb06ac3 100644 --- a/templates/page.html +++ b/templates/page.html @@ -66,5 +66,11 @@ {%- endblock content %} {%- block gotop %} + +{%- if page.reading_time %} +{%- if page.reading_time > 1 %} <a href="#" class="top">⋏</a> +{%- endif %} +{%- endif %} + {%- endblock gotop %}
\ No newline at end of file |
