summaryrefslogtreecommitdiff
path: root/templates/section.html
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2024-03-02 12:00:00 +0200
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2024-03-02 12:00:00 +0200
commit8ee207dc1034eeeb8f48c0c9ca58c6f29df95ae7 (patch)
tree038610a55005e9a638345afe76a7b894459c828e /templates/section.html
parent2c1b00f3094321ba9fd3121e723823b96dfbc528 (diff)
Massive changes regarding the core templates, static and config backbone
Soon will be abstracted into a Hermit V3 theme that focuses on: - speed - efficiency - modularity - SEO: - good WCAG & - pagespeed metrics - suckless Changes to be committed: modified: config.toml modified: content/posts/code_test.md modified: content/posts/How I made this Blog with Zola.md deleted: sass/_icons.scss modified: sass/_predefined.scss modified: sass/style.scss modified: static/js/main.js modified: templates/404.html modified: templates/index.html modified: templates/macros.html modified: templates/page.html modified: templates/section.html modified: templates/tags/list.html modified: templates/tags/single.html
Diffstat (limited to 'templates/section.html')
-rw-r--r--templates/section.html17
1 files changed, 4 insertions, 13 deletions
diff --git a/templates/section.html b/templates/section.html
index 2ef9118..679a3ea 100644
--- a/templates/section.html
+++ b/templates/section.html
@@ -11,9 +11,7 @@
</div>
<nav class="site-nav hide-in-mobile">
{% for menu_item in config.extra.hermit_menu %}
- <a href="{{ config.base_url ~ menu_item.link }}"
- >{{ menu_item.name }}</a
- >
+ <a href="{{ config.base_url ~ menu_item.link }}">{{ menu_item.name }}</a>
{% endfor %}
</nav>
</div>
@@ -22,16 +20,8 @@
{{ macros::render_social_icons() }}
</span>
<button id="menu-btn" class="hdr-btn" title="Menu">
- <svg
- xmlns="http://www.w3.org/2000/svg"
- width="24"
- height="24"
- viewBox="0 0 24 24"
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- stroke-linecap="round"
- stroke-linejoin="round"
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
class="feather feather-menu">
<line x1="3" y1="12" x2="21" y2="12"></line>
<line x1="3" y1="6" x2="21" y2="6"></line>
@@ -41,6 +31,7 @@
</div>
</div>
</header>
+
<div id="mobile-menu" class="animated fast">
<ul>
{% for menu_item in config.extra.hermit_menu %}