forked from PirateCare/Syllabus
!publish! mama mia..
This commit is contained in:
parent
6880ff44b3
commit
24a3af5b2b
|
@ -3,7 +3,7 @@
|
|||
{{ range .Data.Pages }}
|
||||
{{ $relpermalink := "" }}
|
||||
{{ with .Site.Data.myvars.edit }}
|
||||
{{ $relpermalink = printf "%s%s" $relpermalink "_preview" }}
|
||||
{{ $relpermalink = printf "%s%s" "_preview" $relpermalink }}
|
||||
{{ 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>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
{{ range .Data.Pages }}
|
||||
{{ $relpermalink := "" }}
|
||||
{{ with .Site.Data.myvars.edit }}
|
||||
{{ $relpermalink = printf "%s%s" $relpermalink "_preview" }}
|
||||
{{ $relpermalink = printf "%s%s" "_preview" $relpermalink }}
|
||||
{{ 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>
|
||||
|
|
Reference in New Issue