summaryrefslogtreecommitdiffstats
path: root/_layouts/default.html
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/default.html')
-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 %}