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:
authorkarthik <kskarthik@gitlab.io>2019-12-05 13:28:56 +0300
committerkarthik <kskarthik@gitlab.io>2019-12-05 13:28:56 +0300
commit7d7d24a4d2db59326c0551b0ed6a2088490375ea (patch)
tree8bbad62427f3eacfb474608c50e180bee7df0462
parente146ca783ff79bc7a9d29627314636dc348e4949 (diff)
comments
-rw-r--r--layouts/_default/list.html4
-rw-r--r--layouts/_default/single.html45
2 files changed, 27 insertions, 22 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index ebac326..7967826 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -6,9 +6,9 @@
<span class='badge badge-dark'><a class='text-white' href='{{ "tags/" | absURL }}{{ $value.Name | lower }}'>{{ $value.Name }} ({{.Count }})</a></span>
{{end}}
{{else}}
- <div class="container row">
+ <div class="row">
{{range .Pages}}
- <div class="container-fluid col-md-5 m-3">
+ <div class="container col-md-5 m-3">
<h6><a href="{{.Permalink}}">{{ .Title }}</a></h6>
{{if eq .Section "post"}}
<small class="text-secondary">{{.PublishDate.Format "January 2, 2006"}} | {{.ReadingTime}} minute read</small>
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index f36d519..d2c6a7c 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,25 +1,30 @@
{{define "main"}}
{{ if eq .Section "post"}}
-<section class="container text-monospace text-justified mt-3">
- <h2>{{.Title}}</h2>
- <small class="text-secondary">Posted on {{ .PublishDate.Format "January 2, 2006" }} | {{.ReadingTime}} minute read</small>
- {{ .Content }}
- <small>Please mail your comments to <a href="{{.Site.Params.email}}">{{.Site.Params.email}}</a></small><br>
- <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">
- {{if .Site.Params.disqus }}
- {{ template "_internal/disqus.html" . }}
- {{end}}
- </div>
-</section>
+
+ <section class="container text-monospace text-justified mt-3">
+ <h2>{{.Title}}</h2>
+ <small class="text-secondary">Posted on {{ .PublishDate.Format "January 2, 2006" }} | {{.ReadingTime}} minute read</small>
+ {{ .Content }}
+ <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">
+ {{ if .Site.Params.disqus }}
+ {{ template "_internal/disqus.html" . }}
+ {{ else }}
+ <small>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">
- <h2 class="text-center">{{.Title}}</h2>
- {{ .Content }}
-</section>
+
+ <section class="container text-monospace text-justified mt-3">
+ <h2 class="text-center">{{.Title}}</h2>
+ {{ .Content }}
+ </section>
+
{{end}}
{{end}}