23 lines
1.0 KiB
HTML
23 lines
1.0 KiB
HTML
{{ $currentSession := . }}
|
|
|
|
<div class="header">
|
|
<a href="#" onclick='toggle({{ .File.Dir }})' class="dotslash">./</a>
|
|
{{ if not .IsHome }}
|
|
<a href="{{ .Site.Home.RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}"><span class="sup">{{ substr $.Site.Home.Title 0 1 }}</span><i>{{ substr $.Site.Home.Title 1 }}</i></a>
|
|
{{ end }}
|
|
|
|
{{ if eq .File.Dir "topic/" }}
|
|
<span class="topicbar"><i> » <a href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{ .Title }}</a></i></span>
|
|
{{ end }}
|
|
|
|
{{ range where $.Site.RegularPages ".Section" "topic" }}
|
|
{{ if in .Params.has_sessions $currentSession.File.LogicalName }}
|
|
<i> » <a href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{ .Title }}</a></i>
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ if eq .File.Dir "session/" }}
|
|
<span class="topicbar"><i> » <a href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{ .Title }}</a></i></span>
|
|
{{ end }}
|
|
</div>
|