diff --git a/themes/piratecare/layouts/_default/list.html b/themes/piratecare/layouts/_default/list.html index b3c5052..261f11f 100644 --- a/themes/piratecare/layouts/_default/list.html +++ b/themes/piratecare/layouts/_default/list.html @@ -20,11 +20,11 @@
-
diff --git a/themes/piratecare/layouts/session/list.html b/themes/piratecare/layouts/session/list.html index c5015f7..13dfcac 100644 --- a/themes/piratecare/layouts/session/list.html +++ b/themes/piratecare/layouts/session/list.html @@ -1,13 +1,7 @@ {{ define "main" }} - {{ $relpermalink := "" }} - - {{ range .Data.Pages }} - {{ with .Site.Data.myvars.edit }} - {{ $relpermalink = printf "%s%s" "_preview" .RelPermalink}} - {{ else }} - {{ $relpermalink = .RelPermalink }} + + {{ range .Data.Pages }} +
> {{ .Title }}
{{ end }} -
> {{ .Title }}
- {{ end }} -
+
{{ end }} diff --git a/themes/piratecare/layouts/topic/list.html b/themes/piratecare/layouts/topic/list.html index 86448e5..a4cecaa 100644 --- a/themes/piratecare/layouts/topic/list.html +++ b/themes/piratecare/layouts/topic/list.html @@ -1,13 +1,7 @@ {{ define "main" }} - {{ $relpermalink := "" }} - - {{ range .Data.Pages }} - {{ with .Site.Data.myvars.edit }} - {{ $relpermalink = printf "%s%s" "_preview" .RelPermalink}} - {{ else }} - {{ $relpermalink = .RelPermalink }} + + {{ range .Data.Pages }} +
> {{ .Title }}
{{ end }} -
> {{ .Title }}
- {{ end }} -
+
{{ end }} diff --git a/themes/piratecare/layouts/topic/single.html b/themes/piratecare/layouts/topic/single.html index 8860f80..4ae3a8a 100644 --- a/themes/piratecare/layouts/topic/single.html +++ b/themes/piratecare/layouts/topic/single.html @@ -22,7 +22,7 @@