initial list.html template
This commit is contained in:
parent
de9e594785
commit
c543664ef5
1 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,11 @@
|
|||
<ul>
|
||||
<li>{{ .Title }}</li>
|
||||
</ul>
|
||||
{{ define "singlebody" }}
|
||||
{{ $s := partialCached "scratch.html" . }}
|
||||
{{ range $p := .Site.Pages }}
|
||||
{{ $scratch := $s.Get (printf "/%s" .File) }}
|
||||
<div>{{ . }}: {{ .Title }}</div>
|
||||
{{ with ($scratch.depth) }}
|
||||
<div>Depth: {{ . }}
|
||||
{{ end }}
|
||||
<hr />
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Reference in a new issue