Skip to content

Commit b28a6ed

Browse files
author
Pablo Vieira
committed
Merge branch 'fix-disqus-code'
2 parents 7126af8 + c3bdd60 commit b28a6ed

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

_includes/comments.html

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,18 @@
11
<div id="comments">
2-
<h1 class="post-content">Leave a comment</h1>
2+
<h3 class="post-content">Leave a comment</h3>
33

44
<div id="disqus_thread"></div>
55
<script>
6-
/**
7-
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
8-
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables
9-
*/
10-
116
var disqus_config = function () {
12-
this.page.title = "{{ page.title }}";
13-
this.page.url = "{{ site.url }}{{ page.url }}";
14-
this.page.identifier = "{{ page.id }}";
7+
this.page.title = "{{ page.title }}";
8+
this.page.url = "{{ site.url }}{{ page.url }}";
9+
this.page.identifier = "{{ page.id }}";
1510
};
1611

17-
(function() { // DON'T EDIT BELOW THIS LINE
12+
(function() { /* DON'T EDIT BELOW THIS LINE */
1813
var d = document, s = d.createElement('script');
1914

20-
s.src = '//{{ site.disqus_shortname }}.disqus.com/embed.js';
15+
s.src = 'https://{{ site.disqus_shortname }}.disqus.com/embed.js';
2116

2217
s.setAttribute('data-timestamp', +new Date());
2318
(d.head || d.body).appendChild(s);

_includes/ios-fullscreen.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<script type="text/javascript">
22
$(document).ready(function(){
3-
// PWA: iOS web full screen seamless experience
3+
/* PWA: iOS web full screen seamless experience */
44
if(window.navigator.standalone == true) {
5-
// all links remain in web app mode
5+
/* all links remain in web app mode */
66
$('a').click(function() {
77
window.location = $(this).attr('href');
88
return false;

0 commit comments

Comments
 (0)