diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-12-14 18:50:15 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-12-14 18:50:15 +0100 |
| commit | 0c0c6fb6df755d8f53d353e8b941e22a6c474b60 (patch) | |
| tree | 419617345dba2da3d0b666d5993964ce75904efa /backend/templates | |
| parent | a3043f8193f6e103eb09fd661c03ec91e659cd25 (diff) | |
feat(backend): parse description as markdown
Diffstat (limited to 'backend/templates')
| -rw-r--r-- | backend/templates/components.html | 2 | ||||
| -rw-r--r-- | backend/templates/data.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/templates/components.html b/backend/templates/components.html index b4ffbe6..d9a653f 100644 --- a/backend/templates/components.html +++ b/backend/templates/components.html @@ -7,7 +7,7 @@ <a href="/{{ $uri }}/{{ .Slug }}"><img src="{{ static .Img.Src }}" alt="{{ .Img.Alt }}" /></a> <figcaption>{{ .Img.Legend }}</figcaption> </figure> - <p>{{ .Description }}</p> + {{ .Description }} </article> {{ end }} <div class="pagination"> diff --git a/backend/templates/data.html b/backend/templates/data.html index a384459..6fe15c4 100644 --- a/backend/templates/data.html +++ b/backend/templates/data.html @@ -1,7 +1,7 @@ {{define "body"}} <article id="content"> <h1>{{ .DataTitle }}</h1> - <p>{{ .Description }}</p> + {{ .Description }} <figure> <img src="{{ static .Img.Src }}" alt="{{ .Img.Alt }}" class="large" /> <figcaption>{{ .Img.Legend }}</figcaption> |
