diff options
Diffstat (limited to 'backend/templates/components.html')
| -rw-r--r-- | backend/templates/components.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/backend/templates/components.html b/backend/templates/components.html index dff4626..b249706 100644 --- a/backend/templates/components.html +++ b/backend/templates/components.html @@ -16,7 +16,7 @@ {{ define "data_display" }} <article class="large"> <figure> - <a href="/{{ .URI }}/{{ .Slug }}"><img src="{{ static .Img.Src }}" alt="{{ .Img.Alt }}" /></a> + <a href="/{{ .URI }}/{{ .Slug }}"><img src="{{ static .Img.Src }}" alt="{{ .Img.Alt }}" /></a> <figcaption>{{ .Img.Legend }}</figcaption> </figure> <div> @@ -26,15 +26,15 @@ </article> {{ end }} {{ define "section_pagination" }} - <div class="pagination"> - {{ if .Paginate }} - {{ template "pagination" . }} - {{ else }} - {{ if eq (len .Data) .LenMax }} - <a href="/{{ .URI }}/">Voir plus</a> - {{ end }} + <div class="pagination"> + {{ if .Paginate }} + {{ template "pagination" . }} + {{ else }} + {{ if eq (len .Data) .LenMax }} + <a href="/{{ .URI }}/">Voir plus</a> {{ end }} - </div> + {{ end }} + </div> {{ end }} {{ define "section_display--no-first" }} <article class="article__list"> |
