This repository was archived by the owner on Nov 8, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +2
-45
lines changed Expand file tree Collapse file tree 3 files changed +2
-45
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,7 @@ <h2 style="margin-top: 50px; padding-top: 50px; border-top: 1px solid #efefef">S
17
17
< h1 > {{ post.title }}</ h1 >
18
18
< p > {{ post.excerpt }}</ p >
19
19
< p class ="authorDate inline "> {{ site.authors[post.author].name }} — {{ post.date | date_to_string }}</ p >
20
- </ a >
21
- {% if post.comments %}
22
- < p class ="commentsCount "> < a href ="{{ post.url }}/#comments " class ="commentsLink " data-disqus-identifier ="{{ post.url }} "> </ a > </ p >
23
- {% assign useComments = true %}
24
- {% endif %}
25
- </ div >
20
+ </ a > </ div >
26
21
{% endfor %}
27
22
</ div >
28
23
</ div >
Original file line number Diff line number Diff line change @@ -22,24 +22,6 @@ <h1>{{ page.title }}</h1>
22
22
23
23
{{ content }}
24
24
< p > < span class ="blogShare afterArticle "> {{ shareLine }}</ span > </ p >
25
-
26
- {% if page.comments %}
27
- < a name ="comments " id ="comments "> </ a > < div id ="disqus_thread "> </ div >
28
- < script type ="text/javascript ">
29
- var disqus_title = '{{ page.title | escape }}' ;
30
- var disqus_url = '{{ site.url }}{{ page.url }}' ;
31
- var disqus_identifier = '{{ page.url }}' ;
32
- var disqus_shortname = 'apiaryblog' ;
33
- ( function ( ) {
34
- var dsq = document . createElement ( 'script' ) ; dsq . type = 'text/javascript' ; dsq . async = true ;
35
- dsq . src = '//' + disqus_shortname + '.disqus.com/embed.js' ;
36
- ( document . getElementsByTagName ( 'head' ) [ 0 ] || document . getElementsByTagName ( 'body' ) [ 0 ] ) . appendChild ( dsq ) ;
37
- } ) ( ) ;
38
- </ script >
39
- < noscript > < p > Please enable JavaScript to view the < a href ="http://disqus.com/?ref_noscript "> comments powered by Disqus.</ a > </ p > </ noscript >
40
- < p > < a href ="http://disqus.com " class ="dsq-brlink "> comments powered by < span class ="logo-disqus "> Disqus</ span > </ a > </ p >
41
- {% endif %}
42
-
43
25
</ div >
44
26
</ div >
45
27
Original file line number Diff line number Diff line change 2
2
title: Welcome
3
3
layout: default
4
4
---
5
- {% assign useComments = false %}
6
-
7
5
8
6
< div class ="blog ">
9
-
10
7
< div class ="blogArticles ">
11
8
{% for post in site.posts %}
12
9
< div class ="blogPost{% if post.featured %} featured{% endif %} "> < a href ="{{ post.url }} ">
13
10
< h1 > {{ post.title }}</ h1 >
14
11
< p > {{ post.excerpt }}</ p >
15
12
< p class ="authorDate inline "> {{ site.authors[post.author].name }} — {{ post.date | date_to_string }}</ p >
16
- </ a >
17
- {% if post.comments %}
18
- < p class ="commentsCount "> < a href ="{{ post.url }}/#comments " class ="commentsLink " data-disqus-identifier ="{{ post.url }} "> </ a > </ p >
19
- {% assign useComments = true %}
20
- {% endif %}
21
- </ div >
13
+ </ a > </ div >
22
14
{% endfor %}
23
15
</ div >
24
16
</ div >
25
-
26
- {% if useComments %}
27
- < script type ="text/javascript ">
28
- var disqus_shortname = 'apiaryblog' ;
29
- ( function ( ) {
30
- var s = document . createElement ( 'script' ) ; s . async = true ;
31
- s . type = 'text/javascript' ;
32
- s . src = '//' + disqus_shortname + '.disqus.com/count.js' ;
33
- ( document . getElementsByTagName ( 'HEAD' ) [ 0 ] || document . getElementsByTagName ( 'BODY' ) [ 0 ] ) . appendChild ( s ) ;
34
- } ( ) ) ;
35
- </ script >
36
- {% endif %}
You can’t perform that action at this time.
0 commit comments