aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-02-04 19:40:22 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2026-02-04 19:40:22 +0100
commite4d523e3241152e79b6f119e968cfa957b11ec40 (patch)
tree75d27b4f46d4462c485c1e68fad2827eece9e7c6
parent82ad3593a4735055d9b362ab94bc4a9e4f20e4a4 (diff)
fix(frontend): first article title not clickable
-rw-r--r--backend/templates/components.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/templates/components.html b/backend/templates/components.html
index bf555f0..dff4626 100644
--- a/backend/templates/components.html
+++ b/backend/templates/components.html
@@ -48,7 +48,7 @@
<article class="article__list">
{{ $first := firstData .Data }}
<article>
- <h3>{{ $first.DataTitle }}</h3>
+ <h3><a href="/{{ .URI }}/{{ $first.Slug }}">{{ $first.DataTitle }}</a></h3>
<figure>
<a href="/{{ .URI }}/{{ $first.Slug }}"><img src="{{ static $first.Img.Src }}" alt="{{ $first.Img.Alt }}" /></a>
<figcaption>{{ $first.Img.Legend }}</figcaption>