diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-27 16:32:58 +0000 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-27 16:32:58 +0000 |
| commit | db0b5c34432b4c0135af8c5c885fd6ad348c3691 (patch) | |
| tree | 8f38b973a8dd3fc22bbd28498004940451621b41 /backend/templates/data.html | |
| parent | 7bd309f3ca44930c5207b94acc2d425b24d4b369 (diff) | |
| parent | 1e2ad3a8f8cd2c12786b92210616325a33d1b209 (diff) | |
Merge pull request '[Feat] Custom sections' (#1) from feat/custom-sections into main
Reviewed-on: https://git.anhgelus.world/anhgelus/small-web/pulls/1
Diffstat (limited to 'backend/templates/data.html')
| -rw-r--r-- | backend/templates/data.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/backend/templates/data.html b/backend/templates/data.html new file mode 100644 index 0000000..a384459 --- /dev/null +++ b/backend/templates/data.html @@ -0,0 +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}} |
