2020-08-18 23:14:35 +00:00
|
|
|
|
{{ define "main" }}
|
|
|
|
|
{{$currentNode := . }}
|
|
|
|
|
<div class="syllabustitle"><span class="sup">syllabus⁄{{ substr .Title 0 1 }}</span>{{ substr .Title 1 }}</div></div>
|
|
|
|
|
|
2020-08-26 14:09:27 +00:00
|
|
|
|
<div class="grid syllabusgrid">
|
2020-08-19 01:12:29 +00:00
|
|
|
|
<div class="leftcolumn">
|
2020-08-21 14:20:02 +00:00
|
|
|
|
{{ if ne (trim .Page.TableOfContents "\n") "<nav id=\"TableOfContents\"></nav>" }}
|
|
|
|
|
{{ .Page.TableOfContents }}
|
|
|
|
|
{{ end }}
|
2020-08-19 01:12:29 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div class="rightcolumn">
|
2020-08-18 23:14:35 +00:00
|
|
|
|
<div class="has">
|
2020-08-19 01:12:29 +00:00
|
|
|
|
<span class="sup">has topics⁄</span>
|
2020-08-18 23:14:35 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div class="afterhas">
|
|
|
|
|
{{ range .Params.has_topics }}
|
|
|
|
|
{{ with $.GetPage (printf "%s%s" "/topic/" . ) }}
|
2020-08-28 02:12:08 +00:00
|
|
|
|
<div class="topic">
|
|
|
|
|
<a href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{ .Title }}</a>
|
2020-08-19 01:12:29 +00:00
|
|
|
|
</div>
|
2020-08-18 23:14:35 +00:00
|
|
|
|
{{ end }}
|
2020-08-28 02:12:08 +00:00
|
|
|
|
{{ end }}
|
2020-08-18 23:14:35 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2020-08-28 02:12:08 +00:00
|
|
|
|
|
2020-08-18 23:14:35 +00:00
|
|
|
|
<div class="content">{{ .Content }}</div>
|
|
|
|
|
|
|
|
|
|
{{ end }}
|