Syllabus/themes/piratecare/layouts/session/single.html

21 lines
713 B
HTML

{{ define "sidebar" }}
<div class="leading-none mb-12">
<span class="title-pretext">session ⦚ </span><span class="title-text pt-6">{{ .Title }}</span>
</div>
<div class="sidebar-title mb-4">▒▒ is in ▽</div>
<ul>
{{ $currentNode := . }}
{{ range (where $.Site.RegularPages ".Section" "topic") }}
{{ if in .Params.has_sessions $currentNode.File.BaseFileName }}
<li><a class="sidebar-list text-base" href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">↖ topic ⦚ {{ .Title }}</a></li>
{{ end }}
{{ end }}
</ul>
{{ end }}
{{define "main" }}
<article>
<div class="content-text">{{ .Content }}</div>
</article>
{{ end }}