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", "file": "themes/beautifulbaking/layouts/partials/disqus.html",
"settings": "settings":
{ {
"buffer_size": 1013, "buffer_size": 1012,
"encoding": "UTF-8",
"line_ending": "Windows"
}
},
{
"file": "themes/beautifulbaking/layouts/partials/post.html",
"settings":
{
"buffer_size": 1180,
"encoding": "UTF-8", "encoding": "UTF-8",
"line_ending": "Windows" "line_ending": "Windows"
} }
@ -530,7 +521,7 @@
"file": "config.toml", "file": "config.toml",
"settings": "settings":
{ {
"buffer_size": 1500, "buffer_size": 1646,
"encoding": "UTF-8", "encoding": "UTF-8",
"line_ending": "Windows" "line_ending": "Windows"
} }
@ -539,7 +530,7 @@
"file": "docs/index.html", "file": "docs/index.html",
"settings": "settings":
{ {
"buffer_size": 21341, "buffer_size": 21713,
"encoding": "UTF-8", "encoding": "UTF-8",
"line_ending": "Windows" "line_ending": "Windows"
} }
@ -548,7 +539,7 @@
"file": "themes/beautifulbaking/static/css/main.css", "file": "themes/beautifulbaking/static/css/main.css",
"settings": "settings":
{ {
"buffer_size": 14350, "buffer_size": 14620,
"encoding": "UTF-8", "encoding": "UTF-8",
"line_ending": "Windows" "line_ending": "Windows"
} }
@ -638,6 +629,8 @@
], ],
"file_history": "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/head.html",
"/C/Development/github/brainbaking/themes/beautifulbaking/layouts/partials/footer.html", "/C/Development/github/brainbaking/themes/beautifulbaking/layouts/partials/footer.html",
"/C/Development/github/brainbaking/themes/beautifulbaking/layouts/partials/page.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/themes/beautifulhugo/layouts/_default/single.html",
"/Users/jefklak/development/hugotest/content/post/index.md", "/Users/jefklak/development/hugotest/content/post/index.md",
"/Users/jefklak/development/hugotest/content/pages/_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/layouts/partials/page.html"
"/Users/jefklak/development/hugotest/themes/beautifulhugo/theme.toml",
"/Users/jefklak/development/hugotest/themes/beautifulhugo/exampleSite/config.toml"
], ],
"find": "find":
{ {
@ -940,7 +931,7 @@
"groups": "groups":
[ [
{ {
"selected": 3, "selected": 6,
"sheets": "sheets":
[ [
{ {
@ -968,7 +959,7 @@
"translation.y": 0.0, "translation.y": 0.0,
"zoom_level": 1.0 "zoom_level": 1.0
}, },
"stack_index": 5, "stack_index": 6,
"type": "text" "type": "text"
}, },
{ {
@ -984,8 +975,8 @@
"selection": "selection":
[ [
[ [
14, 0,
14 7
] ]
], ],
"settings": "settings":
@ -996,7 +987,7 @@
"translation.y": 0.0, "translation.y": 0.0,
"zoom_level": 1.0 "zoom_level": 1.0
}, },
"stack_index": 7, "stack_index": 4,
"type": "text" "type": "text"
}, },
{ {
@ -1005,15 +996,15 @@
"semi_transient": false, "semi_transient": false,
"settings": "settings":
{ {
"buffer_size": 1013, "buffer_size": 1012,
"regions": "regions":
{ {
}, },
"selection": "selection":
[ [
[ [
64, 1012,
64 1012
] ]
], ],
"settings": "settings":
@ -1024,41 +1015,11 @@
"translation.y": 0.0, "translation.y": 0.0,
"zoom_level": 1.0 "zoom_level": 1.0
}, },
"stack_index": 6, "stack_index": 2,
"type": "text" "type": "text"
}, },
{ {
"buffer": 3, "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", "file": "content/page/about.md",
"semi_transient": false, "semi_transient": false,
"settings": "settings":
@ -1082,24 +1043,24 @@
"translation.y": 0.0, "translation.y": 0.0,
"zoom_level": 1.0 "zoom_level": 1.0
}, },
"stack_index": 4, "stack_index": 5,
"type": "text" "type": "text"
}, },
{ {
"buffer": 5, "buffer": 4,
"file": "config.toml", "file": "config.toml",
"semi_transient": false, "semi_transient": false,
"settings": "settings":
{ {
"buffer_size": 1500, "buffer_size": 1646,
"regions": "regions":
{ {
}, },
"selection": "selection":
[ [
[ [
1320, 1533,
1340 1533
] ]
], ],
"settings": "settings":
@ -1109,27 +1070,27 @@
"translate_tabs_to_spaces": true "translate_tabs_to_spaces": true
}, },
"translation.x": 0.0, "translation.x": 0.0,
"translation.y": 0.0, "translation.y": 739.0,
"zoom_level": 1.0 "zoom_level": 1.0
}, },
"stack_index": 3, "stack_index": 1,
"type": "text" "type": "text"
}, },
{ {
"buffer": 6, "buffer": 5,
"file": "docs/index.html", "file": "docs/index.html",
"semi_transient": false, "semi_transient": false,
"settings": "settings":
{ {
"buffer_size": 21341, "buffer_size": 21713,
"regions": "regions":
{ {
}, },
"selection": "selection":
[ [
[ [
671, 389,
596 389
] ]
], ],
"settings": "settings":
@ -1142,24 +1103,24 @@
"translation.y": 180.0, "translation.y": 180.0,
"zoom_level": 1.0 "zoom_level": 1.0
}, },
"stack_index": 1, "stack_index": 3,
"type": "text" "type": "text"
}, },
{ {
"buffer": 7, "buffer": 6,
"file": "themes/beautifulbaking/static/css/main.css", "file": "themes/beautifulbaking/static/css/main.css",
"semi_transient": false, "semi_transient": false,
"settings": "settings":
{ {
"buffer_size": 14350, "buffer_size": 14620,
"regions": "regions":
{ {
}, },
"selection": "selection":
[ [
[ [
12795, 14222,
12775 14222
] ]
], ],
"settings": "settings":
@ -1169,14 +1130,14 @@
"translate_tabs_to_spaces": true "translate_tabs_to_spaces": true
}, },
"translation.x": 0.0, "translation.x": 0.0,
"translation.y": 12617.0, "translation.y": 14279.0,
"zoom_level": 1.0 "zoom_level": 1.0
}, },
"stack_index": 2, "stack_index": 0,
"type": "text" "type": "text"
}, },
{ {
"buffer": 8, "buffer": 7,
"file": "themes/beautifulbaking/layouts/section/wiki.html", "file": "themes/beautifulbaking/layouts/section/wiki.html",
"semi_transient": false, "semi_transient": false,
"settings": "settings":
@ -1202,7 +1163,7 @@
"translation.y": 540.0, "translation.y": 540.0,
"zoom_level": 1.0 "zoom_level": 1.0
}, },
"stack_index": 8, "stack_index": 7,
"type": "text" "type": "text"
} }
] ]
@ -1260,6 +1221,10 @@
"last_filter": "", "last_filter": "",
"selected_items": "selected_items":
[ [
[
"main",
"themes\\beautifulbaking\\static\\css\\main.css"
],
[ [
"main.css", "main.css",
"themes\\beautifulbaking\\static\\css\\main.css" "themes\\beautifulbaking\\static\\css\\main.css"
@ -1304,10 +1269,6 @@
"index.js", "index.js",
"index.js" "index.js"
], ],
[
"main",
"docs/css/main.css"
],
[ [
"nav", "nav",
"themes/beautifulbaking/layouts/partials/nav.html" "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> <div id="disqus_thread"></div>
<script type="text/javascript"> <script type="text/javascript">
(function() { (function() {
// Don't ever inject Disqus on localhost--it creates unwanted // Don't ever inject Disqus on localhost--it creates unwanted
// discussions from 'localhost:1313' on your Disqus account... // discussions from 'localhost:1313' on your Disqus account...
if (window.location.hostname == "localhost") if (window.location.hostname == "localhost")
return; return;
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
var disqus_shortname = '{{ .Site.DisqusShortname }}'; var disqus_shortname = '{{ .Site.DisqusShortname }}';
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})(); })();
</script> </script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> <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> <a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div> </div>
{{ end }}