Answer the question
In order to leave comments, you need to log in
How to make friends with disqus and October CMS?
I decided to install the disqus comment service for my blog articles. Plugin Blog by RainLab installed. I inserted a universal code on the page where the post itself is generated. The question is what to put here?
var disqus_config = function () {
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
title = "blog post"
url = "/:slug"
layout = "default"
is_hidden = 0
robot_index = "index"
robot_follow = "follow"
[blogPost]
slug = "{{ :slug }}"
categoryPage = "category"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question