aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
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 %}