Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AmazingRise/hugo-theme-diary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/comment.html')
-rw-r--r--layouts/partials/comment.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/comment.html b/layouts/partials/comment.html
index 372df17..a7f1e73 100644
--- a/layouts/partials/comment.html
+++ b/layouts/partials/comment.html
@@ -11,10 +11,10 @@
*/
var disqus_config = function () {
// Replace PAGE_URL with your page's canonical URL variable
- this.page.url = '{{ .Permalink }}';
+ this.page.url = '{{ .RelPermalink }}';
// Replace PAGE_IDENTIFIER with your page's unique identifier variable
- this.page.identifier = '{{ .Permalink }}';
+ this.page.identifier = '{{ .RelPermalink }}';
};
(function() {
var d = document, s = d.createElement('script');