From 0c73aac0ab4e369b2d02f3e3d135dbea84579f9c Mon Sep 17 00:00:00 2001 From: Dmitry Date: Tue, 13 Aug 2019 19:28:47 +0300 Subject: [PATCH] .RelPermalink instead of .URL in remark42 template .URL is deprecated --- layouts/partials/footer_custom.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/footer_custom.html b/layouts/partials/footer_custom.html index b2f273f..d11b994 100644 --- a/layouts/partials/footer_custom.html +++ b/layouts/partials/footer_custom.html @@ -1,4 +1,4 @@ -{{ if or (eq (substr .URL 0 6) "/post/") (eq (substr .URL 0 6) "/page/") }} +{{ if or (eq (substr .RelPermalink 0 6) "/post/") (eq (substr .RelPermalink 0 6) "/page/") }}