aboutsummaryrefslogtreecommitdiff
path: root/backend/templates/components.html
diff options
context:
space:
mode:
Diffstat (limited to 'backend/templates/components.html')
-rw-r--r--backend/templates/components.html9
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}}