﻿@inherits UmbracoViewPage<IMaster>
<div id="disqus_thread"></div>
<script>
    var disqus_config = function () {
        this.page.url = '@Umbraco.NiceUrlWithDomain(Model.Id)';
        this.page.identifier = '@Model.Id';
        this.page.title = '@Model.SeoMetadata.Title';
    };

    (function () {
        var d = document,
            s = d.createElement('script');
        s.src = '//stevenhar-land.disqus.com/embed.js';
        s.setAttribute('data-timestamp', +new Date());
        (d.head || d.body).appendChild(s);
    }());
</script>

﻿@inherits UmbracoViewPage<IPublishedContent>
<div id="disqus_thread"></div>
<script>
    var disqus_config = function () {
        this.page.url = '@Umbraco.NiceUrlWithDomain(Model.Id)';
        this.page.identifier = '@Model.Id';
        this.page.title = '@Model.Name';
    };

    (function () {
        var d = document,
            s = d.createElement('script');
        s.src = '//stevenhar-land.disqus.com/embed.js';
        s.setAttribute('data-timestamp', +new Date());
        (d.head || d.body).appendChild(s);
    }());
</script>

Update Disqus partial to use node name for the page title configuration variable
Update Disqus partial to use node name for the page title configuration variable
