franca-theme-blog/templates/components/social.j2

20 lines
847 B
Plaintext
Raw Normal View History

2023-07-22 13:18:15 +00:00
<div class="social-icons">
{{ if .Site.Params.youtube }}
<a href="https://youtube.com/{{ .Site.Params.Youtube }}">
<img src="data:image/svg+xml;base64,{{ readFile "/static/images/youtube.svg" | base64Encode }}"
alt="{{ .Site.Title }}" width="100" />
</a>
{{ end }}
{{ if .Site.Params.github }}
<a href="https://github.com/{{ .Site.Params.Github }}">
<img src="data:image/svg+xml;base64,{{ readFile "/static/images/github.svg" | base64Encode }}"
alt="{{ .Site.Title }}" width="100" />
</a>
{{ end }}
{{ if .Site.Params.telegram }}
<a href="https://t.me/{{ .Site.Params.Telegram }}">
<img src="data:image/svg+xml;base64,{{ readFile "/static/images/telegram.svg" | base64Encode }}"
alt="{{ .Site.Title }}" width="100" />
</a>
{{ end }}
</div>