!publish! stupido!
This commit is contained in:
parent
24a3af5b2b
commit
a93ee2b453
|
@ -3,7 +3,7 @@
|
|||
{{ range .Data.Pages }}
|
||||
{{ $relpermalink := "" }}
|
||||
{{ with .Site.Data.myvars.edit }}
|
||||
{{ $relpermalink = printf "%s%s" "_preview" $relpermalink }}
|
||||
{{ $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>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
{{ range .Data.Pages }}
|
||||
{{ $relpermalink := "" }}
|
||||
{{ with .Site.Data.myvars.edit }}
|
||||
{{ $relpermalink = printf "%s%s" "_preview" $relpermalink }}
|
||||
{{ $relpermalink = "_preview" }}
|
||||
{{ 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>
|
||||
|
|
Loading…
Reference in New Issue