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