forked from PirateCare/Syllabus
!publish! well...
This commit is contained in:
parent
65a90cad3c
commit
505b8ed22b
|
@ -1,10 +1,11 @@
|
|||
{{ define "main" }}
|
||||
{{ $relpermalink := "" }}
|
||||
<div class="sidebar-title mb-1 pb-8">▒▒ all sessions:</div>
|
||||
{{ range .Data.Pages }}
|
||||
{{ with .Site.Data.myvars.edit }}
|
||||
{{ $relpermalink := printf "%s%s" "_preview" .RelPermalink}}
|
||||
{{ $relpermalink = printf "%s%s" "_preview" .RelPermalink}}
|
||||
{{ else }}
|
||||
{{ $relpermalink := .RelPermalink }}
|
||||
{{ $relpermalink = .RelPermalink }}
|
||||
{{ end }}
|
||||
<div><a class="sidebar-list text-base" href="{{ $relpermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">> {{ .Title }}</a></div>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{{ define "main" }}
|
||||
<div class="sidebar-title mb-1 pb-8">▒▒ all topics:</div>
|
||||
{{ range .Data.Pages }}
|
||||
{{ with .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>
|
||||
{{ $relpermalink := "" }}
|
||||
<div class="sidebar-title mb-1 pb-8">▒▒ all topics:</div>
|
||||
{{ range .Data.Pages }}
|
||||
{{ with .Site.Data.myvars.edit }}
|
||||
{{ $relpermalink = printf "%s%s" "_preview" .RelPermalink}}
|
||||
{{ else }}
|
||||
{{ $relpermalink = .RelPermalink }}
|
||||
{{ end }}
|
||||
<div class="pb-8"></div>
|
||||
<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>
|
||||
{{ end }}
|
||||
|
|
Reference in New Issue