mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 23:00:16 +00:00
Condense navigation template conditional formatting
This commit is contained in:
@@ -527,16 +527,7 @@
|
||||
<h3 style="font-size: 0.9rem">Navigation</h3>
|
||||
<a
|
||||
href="/"
|
||||
{%
|
||||
if
|
||||
request.url
|
||||
and
|
||||
request.url.path=""
|
||||
="/"
|
||||
%}class="active"
|
||||
{%
|
||||
endif
|
||||
%}
|
||||
{% if request.url and request.url.path == "/" %}class="active"{% endif %}
|
||||
style="
|
||||
padding: 0.35rem 0.5rem;
|
||||
font-size: 0.95rem;
|
||||
|
||||
Reference in New Issue
Block a user