mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
about.html: Trim long line for social icons (#48)
Signed-off-by: Stephan Kulla <git.mail@kulla.me>
This commit is contained in:
parent
fe04cf84b9
commit
890f89d8d1
1 changed files with 2 additions and 1 deletions
|
@ -23,9 +23,10 @@
|
|||
|
||||
<ul class="social-icon" aria-hidden="true">
|
||||
{{ range $.Site.Params.social }}
|
||||
{{ $pack := or .icon_pack "fa" }}
|
||||
<li>
|
||||
<a href="{{ .link }}">
|
||||
<i class="{{ .icon_pack | default "fa" }} {{ .icon_pack | default "fa" }}-{{ .icon }} big-icon"></i>
|
||||
<i class="{{ $pack }} {{ $pack }}-{{ .icon }} big-icon"></i>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue