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

github.com/sudorook/capsule.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsudorook <daemon@nullcodon.com>2021-03-12 07:35:36 +0300
committersudorook <daemon@nullcodon.com>2021-03-12 07:35:36 +0300
commit23c838da1c321848c45fe055e3ed3dc1192141c7 (patch)
tree236c36237f8c6743557a9d857758f947900e2910
parent96fa7887191dcdb7a0e05ff70aed5c2f350d4799 (diff)
add option for blank page (alternative to single.html)
-rw-r--r--layouts/_default/simple.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/layouts/_default/simple.html b/layouts/_default/simple.html
new file mode 100644
index 0000000..85d61f5
--- /dev/null
+++ b/layouts/_default/simple.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html lang="{{ .Language }}" dir="ltr" itemscope itemtype="http://schema.org/Article">
+
+ {{ partial "head.html" . }}
+
+ <body style="min-height:100vh;display:flex;flex-direction:column">
+
+ {{ partial "navbar.html" . }}
+
+ <section class="section" style="flex:1">
+
+ <!-- Content -->
+ <div class="container">
+ <h1 class="title">{{ .Title }}</h1>
+
+ <div class="content">
+ {{ .Content }}
+ </div>
+ </div>
+
+ </section>
+
+ {{ partial "footer.html" . }}
+ </body>
+
+</html>