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

gitlab.com/kskarthik/monopriv.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html19
1 files changed, 9 insertions, 10 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 67e30dd..3e7a36c 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,30 +1,29 @@
{{define "main"}}
-{{ if eq .Section "post"}}
- <section class="container text-monospace text-justified mt-3">
- <h2>{{.Title}}</h2>
+{{ if eq .Section "post"}}
+ <section class="container text-justified mt-3">
+ <h2 class="font-weight-bold">{{.Title}}</h2>
<small class="text-secondary mb-5">Posted on {{ .PublishDate.Format "January 2, 2006" }} | {{.ReadingTime}} minute read</small>
- <p>{{ .Content }}</p>
+ <div class="text-monospace mt-2">
+ {{ .Content }}
+ </div>
<code>tags:
{{- range .Params.tags -}}
<span class='badge badge-dark'><a class='text-white' href='{{ "tags/" | absURL }}{{ . | lower }}'>{{ . }}</a></span>
{{ end }}
</code>
- <div class="container mt-2" id="comments">
+ <br>
{{ if .Site.Params.disqus }}
{{ template "_internal/disqus.html" . }}
{{ else }}
- <small class="mt-1">Please mail your comments to <a href="{{.Site.Params.email}}">{{.Site.Params.email}}</a></small><br>
+ <small class="text-monospace mt-1">Please mail your comments to <a href="{{.Site.Params.email}}">{{.Site.Params.email}}</a></small><br>
{{end}}
- </div>
</section>
{{else}}
-
- <section class="container text-monospace text-justified mt-3">
+ <section class="container text-justified mt-3">
<h2 class="text-center mb-4">{{.Title}}</h2>
{{ .Content }}
</section>
-
{{end}}
{{end}}