aboutsummaryrefslogtreecommitdiff
path: root/layouts/posts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/posts')
-rw-r--r--layouts/posts/baseof.html2
-rw-r--r--layouts/posts/list.html10
-rw-r--r--layouts/posts/single.html6
3 files changed, 11 insertions, 7 deletions
diff --git a/layouts/posts/baseof.html b/layouts/posts/baseof.html
index 47371c0..fa97ee3 100644
--- a/layouts/posts/baseof.html
+++ b/layouts/posts/baseof.html
@@ -16,4 +16,4 @@
{{ template "_internal/google_analytics_async.html" . }}
</body>
-</html> \ No newline at end of file
+</html>
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 }}
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index 9081faa..6b0712e 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -1,9 +1,11 @@
{{ define "main" }}
<header>
<h1>{{ .Title }}</h1>
- <h5>{{ .Date.Format "January 2, 2006" }}</h5>
+ <h5>
+ <strong>{{ .Date.Format "January 2, 2006" }}</strong>
+ </h5>
</header>
<article class="markdown">
{{- .Content -}}
</article>
-{{ end }} \ No newline at end of file
+{{ end }}