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

github.com/7ma7X/HugoTeX.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.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..9997b19
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,25 @@
+{{ define "main" }}
+ <div class="container" role="main">
+ <article class="article" class="blog-post">
+ <div class="postmeta">
+ {{ partial "postmeta.html" . }}
+ </div>
+ <br>
+ {{ partial "toc.html" . }}
+
+ {{ if .Params.tags }}
+ <div class="blog-tags">
+ {{ range .Params.tags }}
+ <a href="{{ $.Site.BaseURL }}/tags/{{ . | urlize }}/">{{ . }}</a>&nbsp;
+ {{ end }}
+ </div>
+ {{ end }}
+ </article>
+ {{ if and (gt .WordCount 400) (.Param "backtotop") }}
+ {{ partial "backtotop.html" . }}
+ <button onclick="topFunction()" id="backtotopButton">
+ <i class="fa fa-angle-up"></i>
+ </button>
+ {{ end }}
+ </div>
+{{ end }} \ No newline at end of file