diff options
author | Calin Tataru <calintat@gmail.com> | 2019-10-11 16:03:11 +0300 |
---|---|---|
committer | Calin Tataru <calintat@gmail.com> | 2019-10-11 16:03:11 +0300 |
commit | 7d30a45a99be4c6cb680a749ba29c0688a7c8f34 (patch) | |
tree | 54389428a789aafa0fcf4531f73d0baa7bc08048 /layouts | |
parent | 817b05f487e8483c96fc300f0a6516d8024d8cba (diff) |
Small stylistic changes
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/list.html | 6 | ||||
-rw-r--r-- | layouts/_default/single.html | 8 | ||||
-rw-r--r-- | layouts/_default/terms.html | 4 | ||||
-rw-r--r-- | layouts/post/single.html | 8 |
4 files changed, 9 insertions, 17 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 0596fc6..d2a1cc8 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -2,11 +2,9 @@ <main> - <div class="item"> - <h2>{{ .Title }}</h2> - </div> + <h2>{{ .Title }}</h2> - {{ range (.Paginator 5).Pages }} {{ partial "list-item" . }} {{ end }} + {{ range (.Paginator 4).Pages }} {{ partial "list-item" . }} {{ end }} </main> diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 49a33bc..4ac55ce 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,11 +2,9 @@ <main> - <div class="item"> - <h2>{{ .Title }}</h2> - <h5>{{ .Description }}</h5> - {{ partial "tags" . }} - </div> + <h2>{{ .Title }}</h2> + <h5>{{ .Description }}</h5> + {{ partial "tags" . }} <br> <div class="text-justify">{{ .Content }}</div> diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 0596fc6..38aaf9b 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -2,9 +2,7 @@ <main> - <div class="item"> - <h2>{{ .Title }}</h2> - </div> + <h2>{{ .Title }}</h2> {{ range (.Paginator 5).Pages }} {{ partial "list-item" . }} {{ end }} diff --git a/layouts/post/single.html b/layouts/post/single.html index 8cbaa72..6a58d4e 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -2,11 +2,9 @@ <main> - <div class="item"> - <h2>{{ .Title }}</h2> - <h5>{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006") }}</h5> - {{ partial "tags" . }} - </div> + <h2>{{ .Title }}</h2> + <h5>{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006") }}</h5> + {{ partial "tags" . }} <br> <div class="text-justify">{{ .Content }}</div> |