Compare commits

...

2 commits

Author SHA1 Message Date
2888243071 use gemini:// URI for capsule link 2024-04-30 12:50:02 -05:00
8feb8931d7 declare socialLinks.url to be safeURLs 2024-04-30 12:49:31 -05:00
2 changed files with 3 additions and 3 deletions

View file

@ -182,8 +182,8 @@ url = "https://scribbles.jbowdre.lol"
[[socialLinks]]
icon = "fa-solid fa-satellite"
title = "Gemlog"
url = "https://capsule.jbowdre.lol/gemlog/"
title = "Gemini Capsule"
url = "gemini://capsule.jbowdre.lol"
[[socialLinks]]
icon = "fa-solid fa-circle-user"

View file

@ -10,7 +10,7 @@
<ul class="aside__social-links">
{{ range $item := .Site.Params.socialLinks }}
<li>
<a target="_blank" href="{{ $item.url }}" rel="me" aria-label="{{ $item.title }}" title="{{ $item.title }}"><i class="{{ $item.icon }}" aria-hidden="true"></i></a>&nbsp;
<a target="_blank" href="{{ $item.url | safeURL }}" rel="me" aria-label="{{ $item.title }}" title="{{ $item.title }}"><i class="{{ $item.icon }}" aria-hidden="true"></i></a>&nbsp;
</li>
{{ end }}
</ul>