From cd880f75a3f1d15412a6205340584d7a8dc720cd Mon Sep 17 00:00:00 2001 From: tomjoht Date: Tue, 23 Jan 2018 21:27:06 -0800 Subject: [PATCH] fix url logic in disqus component --- _includes/disqus.html | 2 +- pages/mydoc/mydoc_about.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/_includes/disqus.html b/_includes/disqus.html index 5186750..8ecd0ac 100644 --- a/_includes/disqus.html +++ b/_includes/disqus.html @@ -8,7 +8,7 @@ */ var disqus_config = function () { - this.page.url = "{{site.url}}{{site.baseurl}}/{{page.permalink}}"; // Replace PAGE_URL with your page's canonical URL variable + this.page.url = "{{site.url}}{{site.baseurl}}{{page.url}}"; // 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 }; diff --git a/pages/mydoc/mydoc_about.md b/pages/mydoc/mydoc_about.md index 7c35791..c7411ec 100644 --- a/pages/mydoc/mydoc_about.md +++ b/pages/mydoc/mydoc_about.md @@ -9,6 +9,8 @@ permalink: mydoc_about.html folder: mydoc --- +{{site.url}}{{site.baseurl}}{{page.url}} + My name is Tom Johnson, and I'm a technical writer, blogger, and podcaster based in San Jose, California. For more details, see my [technical writing blog](http://idratherbewriting.com) and my [course on API documentation](http://idratherbewriting.com/learnapidoc/). See [my blog's about page](http://idratherbewriting.com/aboutme/) for more details about me. I have used this theme and variations of it for various documentation projects. This theme has undergone several major iterations, and now it's fairly stable and full of all the features that I need. You are welcome to use it for your documentation projects for free.