diff options
author | Simone Bortolin <simonebortolin@users.noreply.github.com> | 2022-12-19 23:02:01 +0100 |
---|---|---|
committer | Simone Bortolin <simonebortolin@users.noreply.github.com> | 2022-12-19 23:02:40 +0100 |
commit | f2f4f16d2eec99bd79a782c82a08b261e2d775a4 (patch) | |
tree | eb98384f64c32d67e13b69c75cb8b5c97ba0c2c0 /_layouts | |
parent | buttons test (diff) | |
download | hack-gpon.github.io-f2f4f16d2eec99bd79a782c82a08b261e2d775a4.tar hack-gpon.github.io-f2f4f16d2eec99bd79a782c82a08b261e2d775a4.tar.gz hack-gpon.github.io-f2f4f16d2eec99bd79a782c82a08b261e2d775a4.tar.bz2 hack-gpon.github.io-f2f4f16d2eec99bd79a782c82a08b261e2d775a4.tar.lz hack-gpon.github.io-f2f4f16d2eec99bd79a782c82a08b261e2d775a4.tar.xz hack-gpon.github.io-f2f4f16d2eec99bd79a782c82a08b261e2d775a4.tar.zst hack-gpon.github.io-f2f4f16d2eec99bd79a782c82a08b261e2d775a4.zip |
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/default.html | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index cd4cfbb..718ea9e 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -85,24 +85,17 @@ layout: table_wrappers </div>
{% endif %}
{% include header_custom.html %}
- {% if site.aux_links %}
- <nav aria-label="Auxiliary" class="aux-nav">
- <ul class="aux-nav-list">
- {% for link in site.aux_links %}
- <li class="aux-nav-list-item">
- <a href="{{ link.last }}" class="site-button"
- {% if site.aux_links_new_tab %}
- target="_blank" rel="noopener noreferrer"
- {% endif %}
- >
- {{ link.first }}
- </a>
- </li>
- {% endfor %}
- </ul>
- </nav>
- {% endif %}
<nav class="aux-nav"><ul class="aux-nav-list">
+ {% if site.aux_links %}
+ {% for link in site.aux_links %}
+ <li class="aux-nav-list-item">
+ <span class="site-button ">
+ <a href="{{ link.last.link }}" class="btn btn-{{ link.last.color }}">{{ link.first }} <img style="width:auto;height:20px;vertical-align:middle;" src="{{ link.last.logo }}"></img></a>
+ {{ link }}
+ </span>
+ </li>
+ {% endfor %}
+ {% endif %}
<li class="aux-nav-list-item"><span class="site-button "><a class="btn js-toggle-dark-mode">Dark mode</a></span></li>
</ul></nav>
</div>
@@ -278,4 +271,4 @@ layout: table_wrappers {% if site.mermaid_enabled != false %}
{%- include mermaid_init.html -%}
{% endif %}
-</html>
\ No newline at end of file +</html>
|