diff options
author | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2024-03-02 12:00:00 +0200 |
---|---|---|
committer | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2024-03-02 12:00:00 +0200 |
commit | 8ee207dc1034eeeb8f48c0c9ca58c6f29df95ae7 (patch) | |
tree | 038610a55005e9a638345afe76a7b894459c828e /templates/tags | |
parent | 2c1b00f3094321ba9fd3121e723823b96dfbc528 (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/tags')
-rw-r--r-- | templates/tags/list.html | 7 | ||||
-rw-r--r-- | templates/tags/single.html | 16 |
2 files changed, 9 insertions, 14 deletions
diff --git a/templates/tags/list.html b/templates/tags/list.html index 807181f..c3268c3 100644 --- a/templates/tags/list.html +++ b/templates/tags/list.html @@ -31,6 +31,7 @@ </div> </div> </header> + <div id="mobile-menu" class="animated fast"> <ul> {% for menu_item in config.extra.hermit_menu %} @@ -46,12 +47,16 @@ <main class="site-main section-inner thin animated fadeIn faster" style="text-align: center;"> {% block content %} {% for tag in terms %} + <header class="post-header"> - <h1 class="post-header__title"><a href="{{ config.base_url }}/tags/{{ tag.slug }}">{{ tag.name }}</a></h1> + <h1 class="post-header__title"> + <a href="{{ config.base_url }}/tags/{{ tag.slug }}">{{ tag.name }}</a> + </h1> <p class="post-header__info"> {{ tag.pages | length }} post{{ tag.pages | length | pluralize }} </p> </header> + {% endfor %} {% endblock content %} </main> diff --git a/templates/tags/single.html b/templates/tags/single.html index 6037d5d..1752e8a 100644 --- a/templates/tags/single.html +++ b/templates/tags/single.html @@ -20,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> @@ -61,9 +53,7 @@ <li class="post-item"> <a href="{{ page.permalink }}"> <span class="post-title">{{ page.title }}</span> - <span class="post-day" - >{{ page.date | date(format="%b %d") }}</span - > + <span class="post-day">{{ page.date | date(format="%b %d") }}</span> </a> </li> {% endfor %} |