diff options
author | it-gro <grossnik@tuvok> | 2018-08-25 09:13:14 +0300 |
---|---|---|
committer | it-gro <grossnik@tuvok> | 2018-08-25 09:13:14 +0300 |
commit | f7b22c927877f446a057141536744588073b12e1 (patch) | |
tree | bc978f4f206f6cfa6aae512507d95d9df7a14c9d | |
parent | 49286ccf00992a6b8d95e1803b8235635a23419b (diff) |
Fix .Site.GetPage issue
-rw-r--r-- | layouts/shortcodes/litt.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/shortcodes/litt.html b/layouts/shortcodes/litt.html index 08d481d..a62ada6 100644 --- a/layouts/shortcodes/litt.html +++ b/layouts/shortcodes/litt.html @@ -19,7 +19,8 @@ `theOutFormat` : {{- $.Scratch.Get `theOutFormat` }} <br/> {{- end }} -{{- with $.Site.GetPage `taxonomy` ($.Scratch.Get `theTaxonomy`) (lower ($.Scratch.Get `theTaxTerm`)) }} +{{/*- with $.Site.GetPage `taxonomy` ($.Scratch.Get `theTaxonomy`) (lower ($.Scratch.Get `theTaxTerm`)) */}} +{{- with $.Site.GetPage ($.Scratch.Get `theTaxonomy`) (lower ($.Scratch.Get `theTaxTerm`)) }} <a href='{{.URL}}'> {{- if findRE `.Kind` ($.Scratch.Get `theOutFormat`)}}{{.Kind -}}: {{end}} {{- if findRE `.RelPermalink` ($.Scratch.Get `theOutFormat`)}}{{.RelPermalink}}{{end}} |