New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add disqus identifier #277

wants to merge 1 commit into
base: site
File filter...
Filter file types
Jump to file or symbol
Failed to load files and symbols.
+2 −1
Diff settings


Just for now

Copy path View file
@@ -9,7 +9,8 @@ <h1 class="entry-title">{{ page.title | titlecase }}</h1>
<p class="meta">
{% include post/date.html %}{{ time }}
{% if site.disqus_short_name and page.comments != false and site.disqus_show_comment_count == true %}
| <a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread">Comments</a>
| <a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread"
data-disqus-identifier="{% if post.meta.disqus_id %}{{ post.meta.disqus_id }}{% else %}{{ site.url }}{{ post.url }}{% endif %}">Comments</a>
{% endif %}
{% endunless %}
ProTip! Use n and p to navigate between commits in a pull request.