Update index.html

This commit is contained in:
Gorri
2023-01-13 20:02:27 +01:00
committed by GitHub
parent 6d6f23adc3
commit fce0858498
@@ -41,22 +41,22 @@
<p><a href="tel:{{ . }}">{{ . }}</a></p> <p><a href="tel:{{ . }}">{{ . }}</a></p>
</section> </section>
{{ end }} {{ end }}
{{ with $data.contactinfo.email }}
<section>
<h3>{{ i18n "CONTACT_EMAIL" . }}</h3>
<p><a href="mailto:{{ . }}">{{ . }}</a></p>
</section>
{{ end }}
{{ with $data.social }} {{ with $data.social }}
<section> <section>
<h3>{{ i18n "CONTACT_SOCIAL" . }}</h3> <h3>{{ i18n "MENU_FOOTER" . }}</h3>
<ul class="icons alt"> <ul class="icons alt">
{{ with .telegram}} {{ with .gallery}}
<li><a href="{{ . }}" class="icon alt fa-telegram"><span class="label">Telegram</span></a></li> <li><a href="{{ . }}" class="icon alt fa-flickr"><span class="label">Telegram</span></a></li>
{{ end }} {{ end }}
{{ with .youtube}} {{ with .gallery}}
<li><a href="{{ . }}" class="icon alt fa-youtube"><span class="label">Youtube</span></a></li> <li><a href="{{ . }}" class="icon alt fa-flickr"><span class="label">Youtube</span></a></li>
{{ end }} {{ end }}
{{ with .gallery}}
<li><a href="{{ . }}" class="icon alt fa-flickr"><span class="label">Gallery</span></a></li>
{{ end }}
{{ with .gallery}}
<li><a href="{{ . }}" class="icon alt fa-flickr"><span class="label">Facebook</span></a></li>
{{ end }}
</ul> </ul>
</section> </section>
{{ end }} {{ end }}