File tree Expand file tree Collapse file tree 5 files changed +8
-6
lines changed Expand file tree Collapse file tree 5 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Deploy preview site
3
3
on :
4
4
# Runs on pushes targeting the default branch
5
5
push :
6
- branches : [$default-branch ]
6
+ branches : [master ]
7
7
8
8
# Allows you to run this workflow manually from the Actions tab
9
9
workflow_dispatch :
Original file line number Diff line number Diff line change @@ -21,9 +21,11 @@ google_analytics:
21
21
rss :
22
22
23
23
comment_provider : facebook
24
+ # Disqus comment
25
+ disqus_shortname :
24
26
# Facebook comment
25
27
facebook :
26
- appid : 123456789012345
28
+ appid : # <appId>
27
29
comment_count : 5
28
30
comment_width : 840
29
31
comment_colorscheme : light
Original file line number Diff line number Diff line change 2
2
<% - js (' js/jquery.imagesloaded.min.js' ) %>
3
3
<% - js (' js/gallery.js' ) %>
4
4
5
- <% if (config .disqus_shortname ){ % >
5
+ <% if (theme .disqus_shortname ){ % >
6
6
< script>
7
- var disqus_shortname = ' <%= config .disqus_shortname %>' ;
7
+ var disqus_shortname = ' <%= theme .disqus_shortname %>' ;
8
8
9
9
(function (){
10
10
var dsq = document .createElement (' script' );
Original file line number Diff line number Diff line change 24
24
< a href= " <%- url_for(item.path) %>#more" class = " more-link" >< %= theme .excerpt_link % >< / a>
25
25
< / div>
26
26
< % } % >
27
- < % if (item .comment && config .disqus_shortname ){ % >
27
+ < % if (item .comments && theme .disqus_shortname ){ % >
28
28
< div class = " alignright" >
29
29
< a href= " <%- item.permalink %>#disqus_thread" class = " comment-link" > Comments< / a>
30
30
< / div>
Original file line number Diff line number Diff line change 6
6
if (theme .facebook ) { % >
7
7
< %- partial (' _partial/facebook_comment' , {fbConfig: theme .facebook }) % >
8
8
< % } % >
9
- < % } else if (config .disqus_shortname ) { % >
9
+ < % } else if (theme .disqus_shortname ) { % >
10
10
< div id= " disqus_thread" >
11
11
< noscript> Please enable JavaScript to view the < a href= " //disqus.com/?ref_noscript" > comments powered by Disqus.< / a>< / noscript>
12
12
< / div>
You can’t perform that action at this time.
0 commit comments