Changed social icon layout

This commit is contained in:
Aroy Art 2021-05-27 12:53:45 +02:00
parent 7f03893256
commit 604d75b972

View file

@ -4,32 +4,35 @@
<div class="row wow fadeInUp" data-wow-duration="500ms"> <div class="row wow fadeInUp" data-wow-duration="500ms">
<div class="col-xl-12"> <div class="col-xl-12">
{{ "<!-- Social Links -->" | safeHTML }} <div class="row">
<div class="social-icon"> {{ "<!-- Social Links -->" | safeHTML }}
<ul class="list-inline"> <div class="social-icon col text-center">
{{ range site.Params.social }} <h2> Soical Media</h2>
<li class="list-inline-item"> <ul class="list-inline">
<a href="{{ .link | safeHTML }}"> {{ range site.Params.social }}
<i class="{{ .icon }}"> <li class="list-inline-item">
{{ if .img }} <a href="{{ .link | safeHTML }}">
<img class="social-icon social-icon-img" src="{{ .img }}"> <i class="{{ .icon }}">
{{ end }} {{ if .img }}
</i> <img class="social-icon social-icon-img" src="{{ .img }}">
</a> {{ end }}
</li> </i>
{{ end }} </a>
</ul> </li>
</div> {{ end }}
</ul>
{{ if site.Params.sketchfab.enable }}
{{ "<!-- Social Sketchfab Link -->" | safeHTML }}
<div class="text-center">
<h2>{{ site.Params.sketchfab.text | markdownify }}</h2>
<a href="{{ site.Params.sketchfab.link | safeHTML }}">
<img class="social-icon-img" src="{{ site.Params.sketchfab.img }}">
</a>
</div> </div>
{{ end }}
{{ if site.Params.sketchfab.enable }}
{{ "<!-- Social Sketchfab Link -->" | safeHTML }}
<div class="social-icon text-center col">
<h2>{{ site.Params.sketchfab.text | markdownify }}</h2>
<a href="{{ site.Params.sketchfab.link | safeHTML }}">
<img class="social-icon-img" src="{{ site.Params.sketchfab.img | safeURL }}">
</a>
</div>
{{ end }}
</div>
{{ "<!-- Copyright -->" | safeHTML }} {{ "<!-- Copyright -->" | safeHTML }}
<div class="copyright text-center"> <div class="copyright text-center">