P
P
posters2019-05-16 20:29:56
Disqus
posters, 2019-05-16 20:29:56

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
};

If this is important to the solution of the issue, then:
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 question

Ask a Question

731 491 924 answers to any question