aboutsummaryrefslogtreecommitdiff
path: root/backend/templates
diff options
context:
space:
mode:
Diffstat (limited to 'backend/templates')
-rw-r--r--backend/templates/components.html2
-rw-r--r--backend/templates/log.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/backend/templates/components.html b/backend/templates/components.html
index 2758a8b..2b43579 100644
--- a/backend/templates/components.html
+++ b/backend/templates/components.html
@@ -2,7 +2,7 @@
<article>
{{ range .Logs }}
<article>
- <h2><a href="/logs/{{ .Slug }}">{{ .Title }}</a></h2>
+ <h2><a href="/logs/{{ .Slug }}">{{ .LogTitle }}</a></h2>
<figure>
<a href="/logs/{{ .Slug }}"><img src="{{ static .Img.Src }}" alt="{{ .Img.Alt }}"></a>
<figcaption>{{ .Img.Legend }}</figcaption>
diff --git a/backend/templates/log.html b/backend/templates/log.html
index 47a5d04..1dcf1bc 100644
--- a/backend/templates/log.html
+++ b/backend/templates/log.html
@@ -1,6 +1,6 @@
{{define "body"}}
<article id="content">
- <h1>{{ .Title }}</h1>
+ <h1>{{ .LogTitle }}</h1>
<p>
{{ .Description }}
</p>
@@ -10,4 +10,4 @@
</figure>
{{ .Content }}
</article>
-{{end}} \ No newline at end of file
+{{end}}