Add title text for some of the links

This commit is contained in:
Dan Jones 2024-01-12 13:32:55 -06:00
commit 2dfd947949
2 changed files with 11 additions and 1 deletions

View file

@ -11,6 +11,7 @@ la = "las"
text = "Microblog" text = "Microblog"
slug = "microwords" slug = "microwords"
url = "https://microwords.goodevilgenius.org" url = "https://microwords.goodevilgenius.org"
note = "Better than the birdsite"
[[links]] [[links]]
icon = "blog" icon = "blog"
@ -18,6 +19,7 @@ la = "las"
text = "Dan's Musings" text = "Dan's Musings"
slug = "musings" slug = "musings"
url = "https://goodevilgenius.org" url = "https://goodevilgenius.org"
note = "My blog"
[[links]] [[links]]
icon = "swatchbook" icon = "swatchbook"
@ -31,6 +33,7 @@ icon = "code-branch"
la = "las" la = "las"
text = "Codeberg" text = "Codeberg"
url = "https://codeberg.org/danjones000/" url = "https://codeberg.org/danjones000/"
note = "I put most of my new projects here"
[[links]] [[links]]
icon = "gitlab" icon = "gitlab"
@ -39,6 +42,7 @@ url = "https://gitlab.com/danjones000"
[[links]] [[links]]
icon = "github" icon = "github"
url = "https://github.com/goodevilgenius" url = "https://github.com/goodevilgenius"
note = "I don't use this much anymore"
[[links]] [[links]]
icon = "linkedin" icon = "linkedin"
@ -51,28 +55,33 @@ la = "las"
text = "Bookwyrm" text = "Bookwyrm"
slug = "bookwyrm" slug = "bookwyrm"
url = "https://book.dansmonorage.blue/user/danjones000" url = "https://book.dansmonorage.blue/user/danjones000"
note = "Better than Goodreads"
[[links]] [[links]]
icon = "goodreads" icon = "goodreads"
url = "https://www.goodreads.com/user/show/2404213-dan-jones" url = "https://www.goodreads.com/user/show/2404213-dan-jones"
note = "Not as good as Bookwyrm"
[[links]] [[links]]
icon = "film" icon = "film"
la = "las" la = "las"
text = "Trakt" text = "Trakt"
url = "https://trakt.tv/users/goodevilgenius/" url = "https://trakt.tv/users/goodevilgenius/"
note = "Keep track of my TV & Movie watching. Like last.fm for TV"
[[links]] [[links]]
icon = "map-marked-alt" icon = "map-marked-alt"
slug = "openstreetmap" slug = "openstreetmap"
text = "OpenStreetMap" text = "OpenStreetMap"
la = "las" la = "las"
note = "Sometimes I contribute to OpenStreetMap"
url = "https://www.openstreetmap.org/user/DanJones000" url = "https://www.openstreetmap.org/user/DanJones000"
[[links]] [[links]]
icon = "mastodon" icon = "mastodon"
text = "Mastodon (backup)" text = "Mastodon (backup)"
url = "https://fosstodon.org/@danjones000" url = "https://fosstodon.org/@danjones000"
note = "Still better than Twitter, but I don't post here much. Check out my microblog instead"
[[links]] [[links]]
icon = "comment-dots" icon = "comment-dots"
@ -92,3 +101,4 @@ icon = "at"
la = "las" la = "las"
text = "Email" text = "Email"
url = "mailto:danjones@goodevilgenius.org" url = "mailto:danjones@goodevilgenius.org"
note = "Last resort"

View file

@ -25,7 +25,7 @@
<ul class="list-group"> <ul class="list-group">
{{#links}} {{#links}}
<li class="list-group-item text-center"> <li class="list-group-item text-center">
<a href="{{{url}}}" data-name="{{slug}}" rel="me" class="fs-4 text-decoration-none text-dark"> <a href="{{{url}}}" data-name="{{slug}}" rel="me" class="fs-4 text-decoration-none text-dark" {{#note}}title="{{.}}"{{/note}}>
<i class="{{la}}{{^la}}lab{{/la}} la-{{icon}}"></i> <i class="{{la}}{{^la}}lab{{/la}} la-{{icon}}"></i>
{{text}} {{text}}
</a> </a>