Compare commits

..

No commits in common. "6880ff44b309c71663c40812b9f109c045b663f8" and "66596a28451a7b7ce20fb1982706cbcab65be666" have entirely different histories.

3 changed files with 11 additions and 18 deletions

View File

@ -13,7 +13,8 @@ _ _ _ New changes after this _ _ _
marcell marcell
tom "fixed a typo on the frontpage" tom "fixed a typo on the frontpage"
ciau
assisting - edited
``` ```

View File

@ -1,12 +1,8 @@
{{ define "main" }} {{ 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 }} <ul class="pb-8">
{{ $relpermalink := "" }} {{ range .Data.Pages }}
{{ with .Site.Data.myvars.edit }} <li><a class="sidebar-list text-base" href="{{ .Permalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">> {{ .Title }}</a></li>
{{ $relpermalink = printf "%s%s" $relpermalink "_preview" }}
{{ end }}
{{ $relpermalink = printf "%s%s" $relpermalink .RelPermalink }}
<div><a class="sidebar-list text-base" href="{{ $relpermalink }}{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">> {{ .Title }}</a></div>
{{ end }} {{ end }}
<div class="pb-8"></div> </ul>
{{ end }} {{ end }}

View File

@ -1,12 +1,8 @@
{{ define "main" }} {{ define "main" }}
<div class="sidebar-title mb-1 pb-8">▒▒ all topics:</div> <div class="sidebar-title mb-1 pb-8">▒▒ all topics ▽</div>
<ul class="pb-8">
{{ range .Data.Pages }} {{ range .Data.Pages }}
{{ $relpermalink := "" }} <li><a class="sidebar-list text-base" href="{{ .Permalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">> {{ .Title }}</a></li>
{{ with .Site.Data.myvars.edit }}
{{ $relpermalink = printf "%s%s" $relpermalink "_preview" }}
{{ end }} {{ end }}
{{ $relpermalink = printf "%s%s" $relpermalink .RelPermalink }} </ul>
<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 }}