diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/list.html | 24 | ||||
-rw-r--r-- | layouts/_default/single.html | 13 |
2 files changed, 22 insertions, 15 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 5d1370f..cf36155 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html | |||
@@ -1,12 +1,12 @@ | |||
1 | {{ define "main" }} | 1 | {{ define "main" }} |
2 | <article> | 2 | <article> |
3 | <section>{{- .Content -}}</section> | 3 | <section>{{- .Content -}}</section> |
4 | <section> | 4 | <section> |
5 | {{ range .Paginator.Pages }} | 5 | {{ range .Paginator.Pages }} |
6 | <div> | 6 | <div> |
7 | {{ .Render "summary" }} | 7 | {{ .Render "summary" }} |
8 | </div> | 8 | </div> |
9 | {{ end }} | 9 | {{ end }} |
10 | </section> | 10 | </section> |
11 | </article> | 11 | </article> |
12 | {{ end }} | 12 | {{ end }} |
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 3e48693..306df48 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html | |||
@@ -1,4 +1,11 @@ | |||
1 | {{ define "main" }} | 1 | {{ define "main" }} |
2 | <h1>{{ .Title }}</h1> | 2 | <article> |
3 | {{- .Content -}} | 3 | <section> |
4 | <h1>{{ .Title }}</h1> | ||
5 | <h6>{{ .Date | time.Format ":date_full" }}</h6> | ||
6 | </section> | ||
7 | <section> | ||
8 | {{- .Content -}} | ||
9 | </section> | ||
10 | </article> | ||
4 | {{ end }} \ No newline at end of file | 11 | {{ end }} \ No newline at end of file |