Compare commits
2 commits
95fbcba77e
...
c543664ef5
Author | SHA1 | Date | |
---|---|---|---|
c543664ef5 | |||
de9e594785 |
2 changed files with 17 additions and 5 deletions
|
@ -25,13 +25,17 @@ disableKinds = ["RSS", "sitemap"]
|
|||
[outputs]
|
||||
list = ["html", "js"]
|
||||
|
||||
[markup]
|
||||
[markup.tableOfContents]
|
||||
endLevel=4
|
||||
ordered = true
|
||||
startLevel = 1
|
||||
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
|
||||
[module]
|
||||
# replacement allow for easier local development
|
||||
replacements = "git.sandpoints.org/Drawwell/SandpointsTheme -> /home/m/devel/SandpointsTheme"
|
||||
[[module.imports]]
|
||||
path = "git.sandpoints.org/Drawwell/SandpointsTheme"
|
||||
|
||||
|
|
|
@ -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