aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorJieiku2022-05-31 00:20:44 -0700
committerJieiku2022-05-31 00:20:44 -0700
commitac24f5dfcc21005007486fcc41c2c8b610b01eeb (patch)
tree675ea1fbd95d3709d390f654e62ef508ed59ab94 /templates/base.html
parent3a6a740d18663ad05d26ce435f3ac0dfeaa5f806 (diff)
downloadabridge-ac24f5dfcc21005007486fcc41c2c8b610b01eeb.tar.gz
abridge-ac24f5dfcc21005007486fcc41c2c8b610b01eeb.tar.bz2
abridge-ac24f5dfcc21005007486fcc41c2c8b610b01eeb.zip
Extend Search, Minify New Icons, Whitespace Cleanup
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html24
1 files changed, 13 insertions, 11 deletions
diff --git a/templates/base.html b/templates/base.html
index 3b0ee85..db3a71c 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -41,8 +41,11 @@
</div>
{%- if config.build_search_index %}
<div>
- <form>
- <input id="userinput" type="search" placeholder="Search" autocomplete="off">
+ <form onsubmit="return goSearch()">
+ <div class="searchd">
+ <input id="userinput" type="search" placeholder="Search" autocomplete="off">
+ <button type="submit" title="Search"><i class="svgs search"></i></button>
+ </div>
<div><div id="suggestions"></div></div>
</form>
</div>
@@ -79,15 +82,14 @@
<a href="{{ get_url(path=i.url, trailing_slash=i.slash) }}">{{ i.name }}</a> &nbsp;
{%- endfor %}
</p>
- <p>{% for i in config.extra.menu_footer %}<a href="{{ get_url(path=i.url, trailing_slash=i.slash) }}">{{ i.name }}</a> &nbsp; {% endfor %}</p>
- {# Optional footer credit #}
- {% if config.extra.footer_credit | default(value=true) %}
- {% if config.extra.footer_credit_override %}
- {{ config.extra.footer_credit_override | safe }}
- {% else %}
- <p>Powered by <a href="https://www.getzola.org/">Zola</a> and <a href="https://github.com/jieiku/abridge/">Abridge</a></p>
- {% endif %}
- {% endif %}
+
+ {%- if config.extra.footer_credit | default(value=true) %}
+ {%- if config.extra.footer_credit_override %}
+ {{ config.extra.footer_credit_override | safe }}
+ {%- else %}
+ <p>Powered by <a href="https://www.getzola.org/">Zola</a> and <a href="https://github.com/jieiku/abridge/">Abridge</a></p>
+ {%- endif %}
+ {%- endif %}
</center>
</footer>
{%- endblock footer %}