mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Add social icons
This commit is contained in:
@@ -8,7 +8,11 @@
|
||||
{{ with .Site.Params.social }}
|
||||
<ul>
|
||||
{{ range sort .}}
|
||||
<li><a href="{{ .url }}">{{ .name }}</a></li>
|
||||
{{ if .icon }}
|
||||
<li><a href="{{ .url }}"><i class="{{ .icon }}"></i></a></li>
|
||||
{{ else }}
|
||||
<li><a href="{{ .url }}">{{ .name }}</a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user