.RelPermalink instead of .URL in remark42 template
.URL is deprecated
This commit is contained in:
parent
48e24ec2fc
commit
0c73aac0ab
@ -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/") }}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var remark_config = {
|
var remark_config = {
|
||||||
host: "https://remark.b4tman.ru",
|
host: "https://remark.b4tman.ru",
|
||||||
|
Loading…
Reference in New Issue
Block a user