Compare commits

...

3 commits

3 changed files with 23 additions and 1 deletions

View file

@ -1,5 +1,8 @@
--- ---
title: "{{ replace .Name "-" " " | title }}" title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }} description: "description"
# layout: "definition"
page_status:
- 'stub'
--- ---

View 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 }}

View file

@ -1,3 +1,4 @@
{{ if .Params.see_also }}
<div class="see_also"> <div class="see_also">
<h3>See also: </h3> <h3>See also: </h3>
<ul> <ul>
@ -6,3 +7,4 @@
{{ end }} {{ end }}
</ul> </ul>
</div> </div>
{{ end }}