diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-07-10 23:17:33 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-07-10 23:17:33 +0700 |
commit | ea358986758036540ace85f2276675776aa81d3b (patch) | |
tree | 386438bc3901b9461d02ba7be1e0b829c32a3545 /layouts/_default | |
parent | 2b966c47cac1e07717ca6270047f4b7262d26c63 (diff) | |
download | blog-ea358986758036540ace85f2276675776aa81d3b.tar.gz |
Add reasons to use free software
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/wiki.html | 32 |
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 }} |