update disqus with baseurl

This commit is contained in:
Tom Johnson 2018-01-19 12:57:33 -08:00
parent 2183f5d8eb
commit a2d548f017
2 changed files with 2 additions and 1 deletions

View File

@ -112,3 +112,4 @@ description: "Intended as a documentation theme based on Jekyll for technical wr
# needed for sitemap.xml file only # needed for sitemap.xml file only
url: http://idratherbewriting.com url: http://idratherbewriting.com
baseurl: /documentation-theme-jekyll

View File

@ -8,7 +8,7 @@
*/ */
var disqus_config = function () { var disqus_config = function () {
this.page.url = "{{site.url}}/{{page.permalink}}"; // Replace PAGE_URL with your page's canonical URL variable this.page.url = "{{site.url}}{{site.baseurl}}/{{page.permalink}}"; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = "{{page.permalink}}"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable this.page.identifier = "{{page.permalink}}"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
}; };