aboutsummaryrefslogtreecommitdiff
path: root/layouts/posts/list.html
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2018-11-25 13:30:25 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2018-11-25 13:30:25 +0100
commit76c251066fd34a26734bf1acdb1e041881e1c0af (patch)
treec332d7ae2bf0e45087fdcc33784dc99de9bcc98b /layouts/posts/list.html
parent461aafe99569a93838f823729aaf8d51fa693aaf (diff)
Refactor templates and partials
Diffstat (limited to 'layouts/posts/list.html')
-rw-r--r--layouts/posts/list.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/layouts/posts/list.html b/layouts/posts/list.html
index da13220..97873dd 100644
--- a/layouts/posts/list.html
+++ b/layouts/posts/list.html
@@ -5,14 +5,16 @@
<h2>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</h2>
- <h5>{{ .Date.Format "January 2, 2006" }}</h5>
+ <h5>
+ <strong>{{ .Date.Format "January 2, 2006" }}</strong>
+ </h5>
<p>
- {{ .Summary }}
+ {{- .Summary -}}
{{ if .Truncated }}
- <a href="{{ .Permalink }}">...</a>
+ <a href="{{ .Permalink }}">...</a>
{{ end }}
</p>
</article>
{{ end }}
{{ template "_internal/pagination.html" . }}
-{{ end }} \ No newline at end of file
+{{ end }}