diff options
| author | William Hergès <william@herges.fr> | 2025-10-27 13:44:41 +0100 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2025-10-27 13:44:41 +0100 |
| commit | ef3f8de38795a92dfc5d232a533c37d53794f1c8 (patch) | |
| tree | f65a1095724fd0f257158532f496d2d45a6f8fb5 /backend/templates/components.html | |
| parent | f1e008670cd865520eb5f21fe6e7b56f02076a23 (diff) | |
fix(section): cannot execute home_logs
Diffstat (limited to 'backend/templates/components.html')
| -rw-r--r-- | backend/templates/components.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/backend/templates/components.html b/backend/templates/components.html index 9792784..8f1bcc2 100644 --- a/backend/templates/components.html +++ b/backend/templates/components.html @@ -1,9 +1,8 @@ {{define "logs_display"}} <article> - {{ $uri := .URI }} - {{ range .Data }} + {{ $uri := .URI }} {{ range .Data }} <article> - <h2><a href="/{{ $uri }}/{{ .Slug }}">{{ .DataTitle }}</a></h2> + <h2><a href="/{{ $uri }}/{{ .Slug }}">{{ .DataTitle }}</a></h2> <figure> <a href="/{{ $uri }}/{{ .Slug }}"><img src="{{ static .Img.Src }}" alt="{{ .Img.Alt }}" /></a> <figcaption>{{ .Img.Legend }}</figcaption> @@ -11,6 +10,8 @@ <p>{{ .Description }}</p> </article> {{ end }} - <a href="/{{ $uri }}/">Voir plus</a> + <div class="pagination"> + <a href="/{{ $uri }}/">Voir plus</a> + </div> </article> {{end}} |
