7
0
Fork 0

Koppelen Hubzilla

This commit is contained in:
Michael Boelen 2023-06-19 13:37:20 +02:00
parent 54cea63709
commit 7c5239237a
2 changed files with 10 additions and 6 deletions

View file

@ -9,11 +9,12 @@
"thumbnail": "/afbeeldingen/personen/hans-van-zijst-200x200.jpg", "thumbnail": "/afbeeldingen/personen/hans-van-zijst-200x200.jpg",
"social": { "social": {
"github": "", "github": "",
"twitter": "", "hubzilla": "@hans@social.woefdram.nl",
"hubzilla_url": "https://social.woefdram.nl/@hans",
"instagram": "", "instagram": "",
"linkedin": "https://www.linkedin.com/in/hans-van-zijst-a2a1366/", "linkedin": "https://www.linkedin.com/in/hans-van-zijst-a2a1366/",
"mastodon": "@hans@social.woefdram.nl", "mastodon": "",
"mastodon_url": "https://social.woefdram.nl/@hans", "mastodon_url": "",
"twitter": "" "twitter": ""
} }
} }

View file

@ -58,15 +58,18 @@
</ul> </ul>
{{ end }} {{ end }}
{{ if or (.social.mastodon) (.social.twitter) }} {{ if or (.social.hubzilla) (.social.mastodon) (.social.twitter) }}
<h2>Social media</h2> <h2>Social media</h2>
<ul class="list"> <ul class="list">
{{ if .social.hubzilla }}
<li><img class="m-r-small" src="/afbeeldingen/iconen/message.svg" height="{{ $.Site.Params.smallIconSize }}" width="{{ $.Site.Params.smallIconSize }}" alt="Hubzilla"> <a href="{{ .social.hubzilla_url }}">{{ .social.hubzilla }}</a></li>
{{ end }}
{{ if .social.mastodon }} {{ if .social.mastodon }}
<li><img src="/afbeeldingen/iconen/mastodon.svg" height="{{ $.Site.Params.smallIconSize }}" width="{{ $.Site.Params.smallIconSize }}" alt="Mastodon"> <a href="{{ .social.mastodon_url }}">{{ .social.mastodon }}</a></li> <li><img class="m-r-small" src="/afbeeldingen/iconen/mastodon.svg" height="{{ $.Site.Params.smallIconSize }}" width="{{ $.Site.Params.smallIconSize }}" alt="Mastodon"> <a href="{{ .social.mastodon_url }}">{{ .social.mastodon }}</a></li>
{{ end }} {{ end }}
{{ if .social.twitter }} {{ if .social.twitter }}
<li><img src="/afbeeldingen/iconen/twitter.svg" height="{{ $.Site.Params.smallIconSize }}" width="{{ $.Site.Params.smallIconSize }}" alt="Twitter"> <a href="https://twitter.com/{{ .social.twitter }}">{{ .social.twitter }}</a></li> <li><img class="m-r-small" src="/afbeeldingen/iconen/twitter.svg" height="{{ $.Site.Params.smallIconSize }}" width="{{ $.Site.Params.smallIconSize }}" alt="Twitter"> <a href="https://twitter.com/{{ .social.twitter }}">{{ .social.twitter }}</a></li>
{{ end }} {{ end }}
</ul> </ul>
{{ end }} {{ end }}