diff options
Diffstat (limited to 'templates/page.html')
| -rw-r--r-- | templates/page.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/page.html b/templates/page.html index f92cdea..da4fdd6 100644 --- a/templates/page.html +++ b/templates/page.html @@ -81,8 +81,9 @@ {%- if page.reading_time %} {%- if page.reading_time > 2 %} +{%- set icon_top=config.extra.icon_top | default(value="svgs svgh angu") -%} <span class="topout"> -<span class="topleft"> </span><a href="#" class="top" title="Back to Top">{%- if config.extra.icon_top %}<i class="{{ config.extra.icon_top }}"></i>{%- else %}⋏{%- endif %}</a> +<span class="topleft"> </span><a href="#" class="top" title="Back to Top">{%- if icon_top %}<i class="{{ icon_top }}"></i>{%- else %}⋏{%- endif %}</a> </span> {%- endif %} {%- endif %} |
