change default page to use the wiki templates
This commit is contained in:
parent
8f5087e077
commit
a455ca0ac6
1 changed files with 17 additions and 0 deletions
17
layouts/_default/single.html
Normal file
17
layouts/_default/single.html
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{{ define "head" }}
|
||||||
|
<link rel="stylesheet" href="/syntax_highlighting.css">
|
||||||
|
{{ end }}
|
||||||
|
{{ define "main" }}
|
||||||
|
{{ partial "header.html" }}
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
</header>
|
||||||
|
{{ .Content }}
|
||||||
|
<footer>
|
||||||
|
{{ partial "see_also" . }}
|
||||||
|
{{ partial "categories.html" }}
|
||||||
|
{{ partial "content_notices.html" . }}
|
||||||
|
</footer>
|
||||||
|
</article>
|
||||||
|
{{ end }}
|
Loading…
Reference in a new issue