diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-11-13 15:31:41 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-11-13 15:31:41 +0100 |
| commit | d18485f51156350c02b9b789fe44e14953b51f9b (patch) | |
| tree | cc0074a86a547801bec61530a1ac0d114d8b99dd /backend/templates/components.html | |
| parent | a221da8d306d805a60dde6c231d49ac8019fa8dc (diff) | |
feat(template): remove 'voir plus' if no more items
Diffstat (limited to 'backend/templates/components.html')
| -rw-r--r-- | backend/templates/components.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/templates/components.html b/backend/templates/components.html index 5365445..b4ffbe6 100644 --- a/backend/templates/components.html +++ b/backend/templates/components.html @@ -21,9 +21,9 @@ <p></p> {{end}} </nav> - {{ else }} + {{ else }} {{ if eq (len .Data) .LenMax }} <a href="/{{ $uri }}/">Voir plus</a> - {{ end }} + {{ end }} {{ end }} </div> </article> {{end}} |
