forked from PirateCare/Syllabus
!publish! mama mia..
This commit is contained in:
parent
6880ff44b3
commit
24a3af5b2b
|
@ -3,7 +3,7 @@
|
||||||
{{ range .Data.Pages }}
|
{{ range .Data.Pages }}
|
||||||
{{ $relpermalink := "" }}
|
{{ $relpermalink := "" }}
|
||||||
{{ with .Site.Data.myvars.edit }}
|
{{ with .Site.Data.myvars.edit }}
|
||||||
{{ $relpermalink = printf "%s%s" $relpermalink "_preview" }}
|
{{ $relpermalink = printf "%s%s" "_preview" $relpermalink }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ $relpermalink = printf "%s%s" $relpermalink .RelPermalink }}
|
{{ $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>
|
<div><a class="sidebar-list text-base" href="{{ $relpermalink }}{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">> {{ .Title }}</a></div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{{ range .Data.Pages }}
|
{{ range .Data.Pages }}
|
||||||
{{ $relpermalink := "" }}
|
{{ $relpermalink := "" }}
|
||||||
{{ with .Site.Data.myvars.edit }}
|
{{ with .Site.Data.myvars.edit }}
|
||||||
{{ $relpermalink = printf "%s%s" $relpermalink "_preview" }}
|
{{ $relpermalink = printf "%s%s" "_preview" $relpermalink }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ $relpermalink = printf "%s%s" $relpermalink .RelPermalink }}
|
{{ $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>
|
<div><a class="sidebar-list text-base" href="{{ $relpermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">> {{ .Title }}</a></div>
|
||||||
|
|
Reference in New Issue