adding support for type in social links (#250)

* adding support for  in social links

* updating example config for RSS social icon
This commit is contained in:
Anson VanDoren
2020-01-13 07:12:09 -10:00
committed by Luiz F. A. de Prá
parent 316835734f
commit 4369ed76d2
3 changed files with 9 additions and 1 deletions

View File

@@ -10,7 +10,7 @@
{{ range sort .}}
{{ if .icon }}
<li>
<a href="{{ .url }}" aria-label="{{ .name }}" {{ if .rel }}rel="{{ .rel }}"{{ end }} {{ if .target }}target="{{ .target }}"{{ end }}>
<a href="{{ .url }}" aria-label="{{ .name }}" {{ if .rel }}rel="{{ .rel }}"{{ end }} {{ if .target }}target="{{ .target }}"{{ end }} {{ if .type }}type="{{ .type }}"{{ end }}>
<i class="{{ .icon }}" aria-hidden="true"></i>
</a>
</li>