Syllabus/themes/piratecare/layouts/print/list.html

55 lines
2.0 KiB
HTML
Raw Normal View History

2020-03-27 02:37:53 +00:00
{{ define "main" }}
<div class="frontpage">
<span class="title-pretext">syllabus ⦚ </span><span class="title-text pt-6">{{ .Site.Home.Title }}</span>
<div class="ddmenu">
<input id="toggly" type="checkbox">
<label for="toggly" class="sidebar-title mb-1" tabindex="1">▒▒ has topics ▽</label>
<div class="hiddendiv">
<ul class="mt-4">
{{ range .Site.Home.Params.has_topics }}
{{ with $.GetPage (printf "%s%s" "/topic/" . ) }}
<li><a class="sidebar-list text-base toc" href="#{{ .File.LogicalName }}">> {{ .Title }}</a></li>
2020-03-27 02:37:53 +00:00
{{ end }}
{{ end }}
</ul>
</div>
</div>
</div>
{{ range .Site.Home.Params.has_topics }}
{{ with $.GetPage (printf "%s%s" "/topic/" . ) }}
<div class="topic" id="{{ .File.LogicalName }}"><div class="runningTopic">topic ⦚ {{ .Title }}</div>
2020-03-27 02:37:53 +00:00
<span class="topic-pretext">topic ⦚ </span><span class="topic-text pt-6">{{ .Title }}</span>
<div class="ddmenu">
<input id="toggly" type="checkbox">
<label for="toggly" class="sidebar-title mb-1" tabindex="1">▒▒ has sessions ▽</label>
<div class="hiddendiv">
<ul class="mt-4">
{{ range .Params.has_sessions }}
{{ with $.GetPage (printf "%s%s" "/session/" . ) }}
<li><a class="sidebar-list text-base toc" href="#{{ .File.LogicalName }}">> {{ .Title }}</a></li>
2020-03-27 02:37:53 +00:00
{{ end }}
{{ end }}
</ul>
</div>
</div>
2020-03-30 01:22:10 +00:00
<div>{{ .Content }}</div>
{{ range .Params.has_sessions }}
{{ with $.GetPage (printf "%s%s" "/session/" . ) }}
<div class="topic" id="{{ .File.LogicalName }}"><div class="runningTopic">session ⦚ {{ .Title }}</div>
2020-03-30 01:22:10 +00:00
<span class="topic-pretext">session ⦚ </span><span class="topic-text pt-6">{{ .Title }}</span>
<div>{{ .Content }} </div>
{{ end }}
{{ end }}
2020-03-27 02:37:53 +00:00
{{ end }}
{{ end }}
{{ end }}