New omegicons version to include Stackoverflow, social menu moved to data file for 4x optimization.

This commit is contained in:
Adsooi 2021-08-02 23:13:38 +02:00
parent 358ad33cb8
commit cc60e2f2a3
No known key found for this signature in database
GPG key ID: 9C87C7D3A69E6BBE
13 changed files with 79 additions and 125 deletions

View file

@ -1,10 +1,12 @@
{{ $lang := .Site.Language.Lang }}
<footer>
<br>
<div class="columns-container">
<div class="col3 footer-social-list grid padding-container-point3">
{{ range .Site.Menus.social }}
<a role="button" alt="{{ .Name }}" title="{{ .Name }}" href={{ .URL }}>
{{ .Pre }}
{{ range .Site.Data.menu.social }}
<a role="button" alt="{{ .name }}" title="{{ .name }}" href="{{ replace .URL "<lang>" $lang }}">
<i class="icon-{{ .icon }}" alt="{{ .icon }} social icon"></i>
</a>
{{ end }}
</div>