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]] [[socialLinks]]
icon = "fa-solid fa-satellite" icon = "fa-solid fa-satellite"
title = "Gemlog" title = "Gemini Capsule"
url = "https://capsule.jbowdre.lol/gemlog/" url = "gemini://capsule.jbowdre.lol"
[[socialLinks]] [[socialLinks]]
icon = "fa-solid fa-circle-user" icon = "fa-solid fa-circle-user"

View file

@ -10,7 +10,7 @@
<ul class="aside__social-links"> <ul class="aside__social-links">
{{ range $item := .Site.Params.socialLinks }} {{ range $item := .Site.Params.socialLinks }}
<li> <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> </li>
{{ end }} {{ end }}
</ul> </ul>