diff options
author | Calin Tataru <calintat@gmail.com> | 2019-10-11 16:15:45 +0300 |
---|---|---|
committer | Calin Tataru <calintat@gmail.com> | 2019-10-11 16:15:45 +0300 |
commit | 97593cb63d04cbe9a71f76e977a577337231b3ab (patch) | |
tree | ef365181e4ce6e71c34bb6c217f7dfff8b221986 | |
parent | 7d30a45a99be4c6cb680a749ba29c0688a7c8f34 (diff) |
Fixed padding
-rw-r--r-- | layouts/_default/single.html | 8 | ||||
-rw-r--r-- | layouts/post/single.html | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 4ac55ce..f790778 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,9 +2,11 @@ <main> - <h2>{{ .Title }}</h2> - <h5>{{ .Description }}</h5> - {{ partial "tags" . }} + <div> + <h2>{{ .Title }}</h2> + <h5>{{ .Description }}</h5> + {{ partial "tags" . }} + </div> <br> <div class="text-justify">{{ .Content }}</div> diff --git a/layouts/post/single.html b/layouts/post/single.html index 6a58d4e..15b53c9 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -2,9 +2,11 @@ <main> - <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" . }} + </div> <br> <div class="text-justify">{{ .Content }}</div> |