about summary refs log tree commit diff stats
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
authorAlan Pearce2018-06-17 19:39:43 +0200
committerAlan Pearce2018-06-17 19:39:43 +0200
commit6f7b8a114d998778a2cf7772a29feb3bff6cba81 (patch)
tree3a47cd07ca5e70665bf653c94c302b74e221f654 /layouts/_default/list.html
parent743253f995d352f51fc7b7681948b20c79609060 (diff)
downloadhyde-6f7b8a114d998778a2cf7772a29feb3bff6cba81.tar.lz
hyde-6f7b8a114d998778a2cf7772a29feb3bff6cba81.tar.zst
hyde-6f7b8a114d998778a2cf7772a29feb3bff6cba81.zip
Tweak whitespace
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index cae4c08..5b51eba 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,11 +1,11 @@
-{{ define "main" -}}
-<h1 class="page-title">{{ .Title }}</h1>
-<ul class="posts">
-{{ range .Data.Pages -}}
-  <li>
-    <a class="post-title u-url" href="{{ .RelPermalink }}">{{ .Title }}</a>
-    <time class="post-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time>
-  </li>
-{{- end }}
-</ul>
+{{ define "main" }}
+    <h1 class="page-title">{{ .Title }}</h1>
+    <ul class="posts">
+      {{ range .Data.Pages -}}
+      <li>
+          <a class="post-title u-url" href="{{ .RelPermalink }}">{{ .Title }}</a>
+          <time class="post-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time>
+      </li>
+      {{ end -}}
+    </ul>
 {{- end }}