diff options
| author | William Hergès <william@herges.fr> | 2025-09-07 15:32:45 +0200 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2025-09-07 15:32:45 +0200 |
| commit | 36963a2839b33121de235c5e16743e508a52b9ea (patch) | |
| tree | 0b100d30246bf1a817a830ce2b2c5d237a330f3d /templates/page/now.gohtml | |
| parent | e2f739c9e19f57b72b599eaf5bfc10265e62ddb8 (diff) | |
feat(now): modify how links are handled
Diffstat (limited to 'templates/page/now.gohtml')
| -rw-r--r-- | templates/page/now.gohtml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/page/now.gohtml b/templates/page/now.gohtml index 776e87a..6af668e 100644 --- a/templates/page/now.gohtml +++ b/templates/page/now.gohtml @@ -8,10 +8,12 @@ </div> <div class="tags" style="{{ .Color.GetTagColor }}"> {{ range $tag := .Person.Tags }} - <div class="tag" data-href="{{ .Link }}" title="{{ .Link }}"> + <div class="tag"> <h4>{{ .Name }}</h4> <p>{{ .Description }}</p> - <p><a href="">Hello</a></p> + {{ if and (ne .Link "") (ne .LinkName "") }} + <p><a href="{{ .Link }}">{{ .LinkName }}</a></p> + {{ end }} </div> {{ end }} </div> |
