Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/calintat/minimal.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalin Tataru <calintat@gmail.com>2019-10-11 16:15:45 +0300
committerCalin Tataru <calintat@gmail.com>2019-10-11 16:15:45 +0300
commit97593cb63d04cbe9a71f76e977a577337231b3ab (patch)
treeef365181e4ce6e71c34bb6c217f7dfff8b221986
parent7d30a45a99be4c6cb680a749ba29c0688a7c8f34 (diff)
Fixed padding
-rw-r--r--layouts/_default/single.html8
-rw-r--r--layouts/post/single.html8
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>