Compare commits
3 commits
4d4ee393af
...
a455ca0ac6
Author | SHA1 | Date | |
---|---|---|---|
a455ca0ac6 | |||
8f5087e077 | |||
157d5e7b02 |
3 changed files with 23 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
description: "description"
|
||||
# layout: "definition"
|
||||
page_status:
|
||||
- 'stub'
|
||||
---
|
||||
|
||||
|
|
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 }}
|
|
@ -1,3 +1,4 @@
|
|||
{{ if .Params.see_also }}
|
||||
<div class="see_also">
|
||||
<h3>See also: </h3>
|
||||
<ul>
|
||||
|
@ -6,3 +7,4 @@
|
|||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue