aboutsummaryrefslogtreecommitdiff
path: root/backend/templates
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-12-19 13:04:08 +0100
committerWilliam Hergès <william@herges.fr>2025-12-19 13:04:08 +0100
commit90246ee314cfbb6b6f0b43b51e392b6b5293b867 (patch)
tree9ae30dafa9b8fc1c75211676b67b6d11172a6296 /backend/templates
parent587f4ff7152dbf82b39f0d9afc61be7a16570686 (diff)
Revert "feat(backend): parse description as markdown"
This reverts commit 0c0c6fb6df755d8f53d353e8b941e22a6c474b60.
Diffstat (limited to 'backend/templates')
-rw-r--r--backend/templates/components.html2
-rw-r--r--backend/templates/data.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/templates/components.html b/backend/templates/components.html
index d9a653f..b4ffbe6 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>
- {{ .Description }}
+ <p>{{ .Description }}</p>
</article>
{{ end }}
<div class="pagination">
diff --git a/backend/templates/data.html b/backend/templates/data.html
index 6fe15c4..a384459 100644
--- a/backend/templates/data.html
+++ b/backend/templates/data.html
@@ -1,7 +1,7 @@
{{define "body"}}
<article id="content">
<h1>{{ .DataTitle }}</h1>
- {{ .Description }}
+ <p>{{ .Description }}</p>
<figure>
<img src="{{ static .Img.Src }}" alt="{{ .Img.Alt }}" class="large" />
<figcaption>{{ .Img.Legend }}</figcaption>