diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-05 22:40:28 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-05 22:40:28 +0200 |
| commit | 33cfc1d4e8f3b5b55202588e5b5148a48b43d427 (patch) | |
| tree | 8163aebcb5d3844e30b71b84b17934e38f618217 /backend/templates/components.html | |
| parent | e9713ae0fe2fd5f714fc73a46adfb5810899a05c (diff) | |
refactor(backend): generalize file parsing
Diffstat (limited to 'backend/templates/components.html')
| -rw-r--r-- | backend/templates/components.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/backend/templates/components.html b/backend/templates/components.html index cb0fb12..280fa3d 100644 --- a/backend/templates/components.html +++ b/backend/templates/components.html @@ -2,14 +2,12 @@ <article> {{ range .Logs }} <article> - <h2><a href="/log/{{ .Slug }}">{{ .LogTitle }}</a></h2> + <h2><a href="/log/{{ .Slug }}">{{ .Title }}</a></h2> <figure> <a href="/log/{{ .Slug }}"><img src="{{ static .Img.Src }}" alt="{{ .Img.Alt }}"></a> <figcaption>{{ .Img.Legend }}</figcaption> </figure> - <p> - {{ .Description }} - </p> + <p>{{ .Description }}</p> </article> {{ end }} {{ if ne .PagesNumber 1 }} |
