Update disqus embed to use `{{comment_id}}`

refs TryGhost/Ghost#8760

- disqus code must use `{{comment_id}}` instead of `{{id}}` from 1.0.0 onwards.
This commit is contained in:
Hannah Wolfe 2017-07-26 23:01:14 +04:00 committed by GitHub
parent 6c5d6af6d0
commit 3993cbdcfa
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ into the {body} of the default.hbs template --}}
<script> <script>
var disqus_config = function () { var disqus_config = function () {
this.page.url = '{{url absolute="true"}}'; this.page.url = '{{url absolute="true"}}';
this.page.identifier = 'ghost-{{id}}'; this.page.identifier = 'ghost-{{comment_id}}';
}; };
(function() { (function() {
var d = document, s = d.createElement('script'); var d = document, s = d.createElement('script');