summaryrefslogtreecommitdiffstats
path: root/_layouts
diff options
context:
space:
mode:
authorSimone Bortolin <simonebortolin@users.noreply.github.com>2022-08-12 23:59:07 +0200
committerSimone Bortolin <simonebortolin@users.noreply.github.com>2022-12-19 23:03:12 +0100
commitf21c4d280d71b81c473f07862c22f92c55750cb2 (patch)
tree56ec396960be114965f33f6d51c7ce3f2e4121c8 /_layouts
parentUpdate ont-Huawei-HG8010H.md (diff)
downloadhack-gpon.github.io-f21c4d280d71b81c473f07862c22f92c55750cb2.tar
hack-gpon.github.io-f21c4d280d71b81c473f07862c22f92c55750cb2.tar.gz
hack-gpon.github.io-f21c4d280d71b81c473f07862c22f92c55750cb2.tar.bz2
hack-gpon.github.io-f21c4d280d71b81c473f07862c22f92c55750cb2.tar.lz
hack-gpon.github.io-f21c4d280d71b81c473f07862c22f92c55750cb2.tar.xz
hack-gpon.github.io-f21c4d280d71b81c473f07862c22f92c55750cb2.tar.zst
hack-gpon.github.io-f21c4d280d71b81c473f07862c22f92c55750cb2.zip
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/default.html13
1 files changed, 10 insertions, 3 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 718ea9e..b3078cf 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -89,9 +89,16 @@ layout: table_wrappers
{% 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 class="site-button">
+ <a href="{{ link.link }}" class="btn btn-{{ link.color }}">{{ link.title }}
+ {% if link.logo %}
+ <img src="{{ link.logo }}"></img></a>
+ {% endif %}
+ {% if link.icon %}
+ <svg>
+ <use xlink:href="{{ link.icon }}"></use></svg>
+ </svg>
+ {% endif %}
</span>
</li>
{% endfor %}