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 marcell
tom "fixed a typo on the frontpage" tom "fixed a typo on the frontpage"
ciau
assisting - edited
``` ```

View File

@ -1,8 +1,12 @@
{{ 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>
<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 }}
{{ $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 }}
</ul> <div class="pb-8"></div>
{{ end }} {{ end }}

View File

@ -1,8 +1,12 @@
{{ 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 }}
<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 }} {{ 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 }} {{ end }}