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

github.com/davidhampgonsalves/hugo-black-and-light-theme.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.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..f1163cf
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,26 @@
+{{ partial "header.html" . }}
+
+<section id=content>
+ <h1>{{ if .Params.heading }} {{ .Params.heading }} {{ else }} {{ .Title }} {{ end }}</h1>
+
+ <div id=sub-header>
+ {{ .Date.Format .Site.Params.dateform }} ยท {{ .ReadingTime }} minute read
+ </div>
+
+ <div class="entry-content">
+ {{ .Content }}
+ </div>
+
+ <div id=links>
+ {{ if .PrevInSection }}
+ <a class="basic-alignment left" href="{{.PrevInSection.Permalink}}">&laquo; {{.PrevInSection.Title}}</a>
+ {{ end }}
+ {{ if .NextInSection }}
+ <a class="basic-alignment left" href="{{.NextInSection.Permalink}}">{{.NextInSection.Title}} &raquo;</a>
+ {{ end }}
+ </div>
+</section>
+
+{{ partial "footer.html" . }}
+
+