Skip to content

Commit 1f01418

Browse files
committed
Disqus named anchor to see comments.
1 parent 7c22df6 commit 1f01418

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
88
<p>
99
<time datetime="{{ post.date | date:'%Y-%m-%d' }}" pubdate="pubdate">{{ post.date | date_to_string }}</time>
1010
<span class="author"><a href="/authors.html#{{ post.author }}">{{ site.authors[post.author].fullname }}</a></span>
11-
<span class="comments"><a href="#comments" title="Voir les commentaires">Commentaires</a></span>
11+
<span class="comments"><a href="#disqus_thread" title="Voir les commentaires">Commentaires</a></span>
1212
</p>
1313
</header>
1414
{{ content }}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ <h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
99
<p>
1010
<time datetime="{{ post.date | date:'%Y-%m-%d' }}" pubdate="pubdate">{{ post.date | date_to_string }}</time>
1111
<span class="author"><a href="/authors.html#{{ post.author }}">{{ site.authors[post.author].fullname }}</a></span>
12-
<span class="comments"><a href="{{ post.url }}#comments" title="Voir les commentaires">Commentaires</a></span>
12+
<span class="comments"><a href="{{ post.url }}#disqus_thread" title="Voir les commentaires">Commentaires</a></span>
1313
</p>
1414
</header>
1515
{{ post.content | truncatewords:60 }}

0 commit comments

Comments
 (0)