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

github.com/AlexFinn/simple-a.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.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..0f01e0a
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,28 @@
+{{ $baseurl := .Site.BaseUrl }}
+{{ template "theme/chrome/header.html" . }}
+<!-- CONTENT -->
+<div class="post">
+ <header class="post-header">
+ <h1><a href="{{ .RelPermalink }}">{{ .Title }}</a></h1>
+ <div class="post-time">{{ .Date.Format "January 2 2006" }}</div>
+ </header>
+ <div class="post-after">
+ <div class="tags">
+ {{ range .Params.tags }}
+ <a href="{{ $baseurl }}/tags/{{ . | urlize }}">{{ . }}</a>
+ {{ end }}
+ </div>
+ </div>
+</div>
+<hr>
+<div class="post content">
+ {{ .Content }}
+</div>
+<!-- END CONTENT -->
+
+{{ template "theme/chrome/about.html" . }}
+ <nav id="pagination">
+ {{if .Prev}}<a class="prev" href="{{.Prev.Permalink}}">Prev</a>{{end}}
+ {{if .Next}}<a class="next" href="{{.Next.Permalink}}">Next</a>{{end}}
+ </nav>
+{{ template "theme/chrome/footer.html" . }}