Add link to /admin on homepage for localhost.

This commit is contained in:
voussoir 2022-11-09 19:42:46 -08:00
parent 1867d30d88
commit ae28e3a0a6

View file

@ -76,6 +76,9 @@ body > .nice_link
{% else %}
<a class="nice_link" href="/login">Log in</a>
{% endif %}
{% if request.is_localhost %}
<a class="nice_link" href="/admin">Admin</a>
{% endif %}
<div class="link_group">
<a class="nice_link" href="/?theme=turquoise">Turquoise</a>
<a class="nice_link" href="/?theme=slate">Slate</a>