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