Compare commits

...

2 Commits

Author SHA1 Message Date
Marcell Mars 6880ff44b3 and now let's try to publish.. 2020-03-15 21:06:20 +01:00
Marcell Mars d54837450b add _privew to the list of sessions/topics... 2020-03-15 21:04:28 +01:00
3 changed files with 18 additions and 11 deletions

View File

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

View File

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

View File

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