feat: image loading and theme icon on homepage, fix view button color var
This commit is contained in:
@ -51,9 +51,17 @@
|
||||
</div>
|
||||
</form>
|
||||
<div class="options">
|
||||
<a class="toggle" href="/options/images"
|
||||
>Toggle Image Loading</a
|
||||
>
|
||||
<div class="icon">
|
||||
<a href="/options/images">
|
||||
<img src="/static/icons/image.svg" alt="Toggle theme" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<a href="/options/theme?redirect_url={{ .currentUrl }}">
|
||||
<img src="/static/icons/{{ if eq .theme "dark" }}sun{{
|
||||
else }}moon{{ end }}.svg" alt="Toggle theme" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<p class="footer">
|
||||
Brought to you by
|
||||
|
Reference in New Issue
Block a user