about summary refs log tree commit diff
path: root/layouts/_default/wiki.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/wiki.html')
-rw-r--r--layouts/_default/wiki.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/layouts/_default/wiki.html b/layouts/_default/wiki.html
new file mode 100644
index 0000000..5175dad
--- /dev/null
+++ b/layouts/_default/wiki.html
@@ -0,0 +1,32 @@
+{{ define "main" }}
+{{ if .Menus }}
+<nav class="post-navigation">
+	{{ range .Menus }}
+	<a href="{{ .URL | absLangURL }}" title="{{ .Title }}">{{ .Name }}</a>
+	{{ end }}
+</nav>
+{{ end }}
+
+<article class="post h-entry">
+	<header class="post-header">
+		<h1 class="p-name post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}">{{ trim .Title  " " }}</h1>
+	</header>
+	<div class="content e-content">
+		{{ .Content }}
+		<hr>
+		{{ i18n "WikiContribute" }}
+		<a href="mailto:huyngo+{{ .Params.wiki }}@disroot.org">
+			huyngo+{{ .Params.wiki }}@disroot.org
+		</a>
+	</div>
+	{{ partial "postInfo.html" . }}
+</article>
+
+{{ if and (.Site.Params.paginationSinglePost) (ne .Type "page") }}
+	{{ partial "paginationPost.html" . }}
+{{ end }}
+
+
+{{ partial "custom-webring.html" }}
+
+{{ end }}