fix discus?

This commit is contained in:
Wouter Groeneveld 2017-06-06 16:39:07 +02:00
parent fbf4bea3da
commit 15f53d7ccf
2 changed files with 57 additions and 98 deletions

View File

@ -501,16 +501,7 @@
"file": "themes/beautifulbaking/layouts/partials/disqus.html",
"settings":
{
"buffer_size": 1013,
"encoding": "UTF-8",
"line_ending": "Windows"
}
},
{
"file": "themes/beautifulbaking/layouts/partials/post.html",
"settings":
{
"buffer_size": 1180,
"buffer_size": 1012,
"encoding": "UTF-8",
"line_ending": "Windows"
}
@ -530,7 +521,7 @@
"file": "config.toml",
"settings":
{
"buffer_size": 1500,
"buffer_size": 1646,
"encoding": "UTF-8",
"line_ending": "Windows"
}
@ -539,7 +530,7 @@
"file": "docs/index.html",
"settings":
{
"buffer_size": 21341,
"buffer_size": 21713,
"encoding": "UTF-8",
"line_ending": "Windows"
}
@ -548,7 +539,7 @@
"file": "themes/beautifulbaking/static/css/main.css",
"settings":
{
"buffer_size": 14350,
"buffer_size": 14620,
"encoding": "UTF-8",
"line_ending": "Windows"
}
@ -638,6 +629,8 @@
],
"file_history":
[
"/C/Development/github/brainbaking/content/books.md",
"/C/Development/github/brainbaking/themes/beautifulbaking/layouts/partials/post.html",
"/C/Development/github/brainbaking/themes/beautifulbaking/layouts/partials/head.html",
"/C/Development/github/brainbaking/themes/beautifulbaking/layouts/partials/footer.html",
"/C/Development/github/brainbaking/themes/beautifulbaking/layouts/partials/page.html",
@ -763,9 +756,7 @@
"/Users/jefklak/development/hugotest/themes/beautifulhugo/layouts/_default/single.html",
"/Users/jefklak/development/hugotest/content/post/index.md",
"/Users/jefklak/development/hugotest/content/pages/_index.md",
"/Users/jefklak/development/hugotest/themes/beautifulhugo/layouts/partials/page.html",
"/Users/jefklak/development/hugotest/themes/beautifulhugo/theme.toml",
"/Users/jefklak/development/hugotest/themes/beautifulhugo/exampleSite/config.toml"
"/Users/jefklak/development/hugotest/themes/beautifulhugo/layouts/partials/page.html"
],
"find":
{
@ -940,7 +931,7 @@
"groups":
[
{
"selected": 3,
"selected": 6,
"sheets":
[
{
@ -968,7 +959,7 @@
"translation.y": 0.0,
"zoom_level": 1.0
},
"stack_index": 5,
"stack_index": 6,
"type": "text"
},
{
@ -984,8 +975,8 @@
"selection":
[
[
14,
14
0,
7
]
],
"settings":
@ -996,7 +987,7 @@
"translation.y": 0.0,
"zoom_level": 1.0
},
"stack_index": 7,
"stack_index": 4,
"type": "text"
},
{
@ -1005,15 +996,15 @@
"semi_transient": false,
"settings":
{
"buffer_size": 1013,
"buffer_size": 1012,
"regions":
{
},
"selection":
[
[
64,
64
1012,
1012
]
],
"settings":
@ -1024,41 +1015,11 @@
"translation.y": 0.0,
"zoom_level": 1.0
},
"stack_index": 6,
"stack_index": 2,
"type": "text"
},
{
"buffer": 3,
"file": "themes/beautifulbaking/layouts/partials/post.html",
"semi_transient": false,
"settings":
{
"buffer_size": 1180,
"regions":
{
},
"selection":
[
[
629,
629
]
],
"settings":
{
"syntax": "Packages/HTML/HTML.sublime-syntax",
"tab_size": 2,
"translate_tabs_to_spaces": true
},
"translation.x": 0.0,
"translation.y": 60.0,
"zoom_level": 1.0
},
"stack_index": 0,
"type": "text"
},
{
"buffer": 4,
"file": "content/page/about.md",
"semi_transient": false,
"settings":
@ -1082,24 +1043,24 @@
"translation.y": 0.0,
"zoom_level": 1.0
},
"stack_index": 4,
"stack_index": 5,
"type": "text"
},
{
"buffer": 5,
"buffer": 4,
"file": "config.toml",
"semi_transient": false,
"settings":
{
"buffer_size": 1500,
"buffer_size": 1646,
"regions":
{
},
"selection":
[
[
1320,
1340
1533,
1533
]
],
"settings":
@ -1109,27 +1070,27 @@
"translate_tabs_to_spaces": true
},
"translation.x": 0.0,
"translation.y": 0.0,
"translation.y": 739.0,
"zoom_level": 1.0
},
"stack_index": 3,
"stack_index": 1,
"type": "text"
},
{
"buffer": 6,
"buffer": 5,
"file": "docs/index.html",
"semi_transient": false,
"settings":
{
"buffer_size": 21341,
"buffer_size": 21713,
"regions":
{
},
"selection":
[
[
671,
596
389,
389
]
],
"settings":
@ -1142,24 +1103,24 @@
"translation.y": 180.0,
"zoom_level": 1.0
},
"stack_index": 1,
"stack_index": 3,
"type": "text"
},
{
"buffer": 7,
"buffer": 6,
"file": "themes/beautifulbaking/static/css/main.css",
"semi_transient": false,
"settings":
{
"buffer_size": 14350,
"buffer_size": 14620,
"regions":
{
},
"selection":
[
[
12795,
12775
14222,
14222
]
],
"settings":
@ -1169,14 +1130,14 @@
"translate_tabs_to_spaces": true
},
"translation.x": 0.0,
"translation.y": 12617.0,
"translation.y": 14279.0,
"zoom_level": 1.0
},
"stack_index": 2,
"stack_index": 0,
"type": "text"
},
{
"buffer": 8,
"buffer": 7,
"file": "themes/beautifulbaking/layouts/section/wiki.html",
"semi_transient": false,
"settings":
@ -1202,7 +1163,7 @@
"translation.y": 540.0,
"zoom_level": 1.0
},
"stack_index": 8,
"stack_index": 7,
"type": "text"
}
]
@ -1260,6 +1221,10 @@
"last_filter": "",
"selected_items":
[
[
"main",
"themes\\beautifulbaking\\static\\css\\main.css"
],
[
"main.css",
"themes\\beautifulbaking\\static\\css\\main.css"
@ -1304,10 +1269,6 @@
"index.js",
"index.js"
],
[
"main",
"docs/css/main.css"
],
[
"nav",
"themes/beautifulbaking/layouts/partials/nav.html"

View File

@ -1,22 +1,20 @@
{{ if .Site.DisqusShortname }}
<div class="disqus-comments">
<div class="disqus-comments">
<div id="disqus_thread"></div>
<script type="text/javascript">
(function() {
// Don't ever inject Disqus on localhost--it creates unwanted
// discussions from 'localhost:1313' on your Disqus account...
if (window.location.hostname == "localhost")
return;
<div id="disqus_thread"></div>
<script type="text/javascript">
(function() {
// Don't ever inject Disqus on localhost--it creates unwanted
// discussions from 'localhost:1313' on your Disqus account...
if (window.location.hostname == "localhost")
return;
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
var disqus_shortname = '{{ .Site.DisqusShortname }}';
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
var disqus_shortname = '{{ .Site.DisqusShortname }}';
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
{{ end }}
</div>