forked from PirateCare/Syllabus
hahaha..
This commit is contained in:
parent
415ad9fef5
commit
c7109f7d27
|
@ -1,12 +1,6 @@
|
|||
{{ define "main" }}
|
||||
{{ $relpermalink := "" }}
|
||||
<div class="sidebar-title mb-1 pb-8">▒▒ all sessions:</div>
|
||||
{{ range .Data.Pages }}
|
||||
{{ if .Site.Data.myvars.edit }}
|
||||
{{ $relpermalink = printf "%s%s" "/_preview" .RelPermalink }}
|
||||
{{ else }}
|
||||
{{ $relpermalink = .RelPermalink }}
|
||||
{{ end }}
|
||||
<div><a class="sidebar-list text-base" href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">> {{ .Title }}</a></div>
|
||||
{{ end }}
|
||||
<div class="pb-8"></div>
|
||||
|
|
|
@ -1,12 +1,6 @@
|
|||
{{ define "main" }}
|
||||
{{ $relpermalink := "" }}
|
||||
<div class="sidebar-title mb-1 pb-8">▒▒ all topics:</div>
|
||||
{{ range .Data.Pages }}
|
||||
{{ if .Site.Data.myvars.edit }}
|
||||
{{ $relpermalink = printf "%s%s" "/_preview" .RelPermalink }}
|
||||
{{ else }}
|
||||
{{ $relpermalink = .RelPermalink }}
|
||||
{{ end }}
|
||||
<div><a class="sidebar-list text-base" href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">> {{ .Title }}</a></div>
|
||||
{{ end }}
|
||||
<div class="pb-8"></div>
|
||||
|
|
Reference in New Issue