diff options
| author | William Hergès <william@herges.fr> | 2026-01-16 22:05:19 +0100 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2026-01-16 22:05:19 +0100 |
| commit | 6ab3a7bd5640623aeb7847f1eb2f1077d8e777f3 (patch) | |
| tree | 87ace5305cbf4aefc67fdbe407ae94e673845c45 /backend/templates/data.html | |
| parent | f67c350197e1c46887baf67398445e2b47a8f067 (diff) | |
style(html): use prettier plugin for go html
Diffstat (limited to 'backend/templates/data.html')
| -rw-r--r-- | backend/templates/data.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/backend/templates/data.html b/backend/templates/data.html index a384459..e548bef 100644 --- a/backend/templates/data.html +++ b/backend/templates/data.html @@ -1,11 +1,11 @@ -{{define "body"}} -<article id="content"> - <h1>{{ .DataTitle }}</h1> - <p>{{ .Description }}</p> - <figure> - <img src="{{ static .Img.Src }}" alt="{{ .Img.Alt }}" class="large" /> - <figcaption>{{ .Img.Legend }}</figcaption> - </figure> - {{ .Content }} -</article> -{{end}} +{{ define "body" }} + <article id="content"> + <h1>{{ .DataTitle }}</h1> + <p>{{ .Description }}</p> + <figure> + <img src="{{ static .Img.Src }}" alt="{{ .Img.Alt }}" class="large" /> + <figcaption>{{ .Img.Legend }}</figcaption> + </figure> + {{ .Content }} + </article> +{{ end }} |
