Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jacobsun/edidor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsun6eal <jacob.sun.meta@gmail.com>2019-05-08 17:41:28 +0300
committersun6eal <jacob.sun.meta@gmail.com>2019-05-08 17:41:28 +0300
commit10135ad717da340f0bc7efb66dbf3bcc445b5645 (patch)
treeba5ff865c136d3450755beda80302828e23c6fbf
parent4c7a7ba3d7aa2cece34b9ec5ff2ba65ce76b493e (diff)
fix disqus
-rw-r--r--exampleSite/static/images/logo.svg1
-rw-r--r--layouts/partials/comment.html4
-rw-r--r--layouts/partials/post.html1
-rw-r--r--static/css/ziox.css3
4 files changed, 6 insertions, 3 deletions
diff --git a/exampleSite/static/images/logo.svg b/exampleSite/static/images/logo.svg
deleted file mode 100644
index f564620..0000000
--- a/exampleSite/static/images/logo.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 298.4 103.1"><style>.a{fill:#21252B;}.b{fill:#797D85;}</style><rect width="80.7" height="103.1" class="a"/><path d="M13.6 18.1h47.7L12.8 85.7c-0.4 0.6-0.6 1.3-0.6 1.9v2h55.9v-4.6H19.5l48.3-67.4c0.5-0.7 0.8-1.5 0.8-2.2v-1.9h-55V18.1z" class="b"/><rect x="92.6" width="112" height="103.1" class="a"/><rect x="105.3" y="13.5" width="5.5" height="76.1" class="b"/><path d="M184.3 23.3c-3.2-3.4-7-6-11.5-7.9 -4.4-1.8-9.4-2.8-14.8-2.8 -5.3 0-10.2 0.9-14.7 2.8 -4.4 1.9-8.3 4.5-11.5 7.9 -3.2 3.4-5.7 7.5-7.4 12.3 -1.8 4.8-2.7 10.1-2.7 15.9 0 5.9 0.9 11.2 2.7 16 1.8 4.8 4.3 8.9 7.4 12.3 3.2 3.4 7 6 11.5 7.9 4.4 1.8 9.3 2.8 14.7 2.8 5.4 0 10.3-0.9 14.8-2.8 4.4-1.8 8.3-4.5 11.5-7.9 3.2-3.4 5.7-7.5 7.4-12.3 1.8-4.8 2.6-10.1 2.6-16 0-5.8-0.9-11.2-2.6-15.9S187.5 26.7 184.3 23.3zM186.5 65.9c-1.5 4.2-3.5 7.8-6.2 10.7 -2.7 2.9-5.9 5.2-9.7 6.7 -3.8 1.5-7.9 2.3-12.5 2.3 -4.5 0-8.7-0.8-12.4-2.3 -3.7-1.5-7-3.8-9.7-6.7 -2.7-2.9-4.8-6.5-6.3-10.7 -1.5-4.2-2.2-9-2.2-14.3 0-5.3 0.7-10.1 2.2-14.3 1.5-4.2 3.6-7.8 6.3-10.8 2.7-2.9 5.9-5.2 9.7-6.7 3.7-1.6 7.9-2.3 12.4-2.3 4.6 0 8.8 0.8 12.5 2.3 3.8 1.6 7 3.8 9.7 6.7 2.7 2.9 4.7 6.5 6.2 10.8 1.5 4.2 2.2 9 2.2 14.3C188.7 56.9 187.9 61.7 186.5 65.9z" class="b"/><rect x="216.3" width="82.2" height="103.1" class="a"/><path d="M261.3 50.3l26.3-36.8h-5.3c-0.4 0-0.7 0.1-0.9 0.3 -0.3 0.2-0.5 0.5-0.7 0.8l-22.3 31.6c-0.2 0.3-0.3 0.6-0.5 0.8 -0.1 0.3-0.2 0.5-0.4 0.8l-23.1-33.3c-0.2-0.3-0.4-0.5-0.6-0.8 -0.2-0.2-0.6-0.3-1.1-0.3h-5.4l26.2 37.1 -27.5 39h5c0.4 0 0.8-0.1 1.1-0.4 0.3-0.3 0.6-0.6 0.9-0.9l23.6-33.5c0.4-0.5 0.6-1 0.8-1.6l24 35.1c0.2 0.3 0.4 0.6 0.7 0.9 0.3 0.3 0.7 0.5 1.2 0.5h5.4L261.3 50.3z" class="b"/></svg>
diff --git a/layouts/partials/comment.html b/layouts/partials/comment.html
index 0a7e235..c9c4bb1 100644
--- a/layouts/partials/comment.html
+++ b/layouts/partials/comment.html
@@ -17,7 +17,7 @@
dsq.type = 'text/javascript'
dsq.async = true
let disqus_shortname = '{{ .Site.DisqusShortname }}'
- dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq)
+ dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq)
})()
</script>
diff --git a/layouts/partials/post.html b/layouts/partials/post.html
index 4bff453..45e99eb 100644
--- a/layouts/partials/post.html
+++ b/layouts/partials/post.html
@@ -17,6 +17,7 @@
</ul>
{{ end }}
{{ with .Params.tags }}
+ <div class="clearfix"></div>
<ul class="article-tags clearfix">
{{ range . }}
<li>
diff --git a/static/css/ziox.css b/static/css/ziox.css
index fb8f931..b49a51e 100644
--- a/static/css/ziox.css
+++ b/static/css/ziox.css
@@ -334,6 +334,9 @@ ul {
float : left;
margin-right: 0.16rem;
}
+.article-tags li {
+ margin-bottom: 0.03rem;
+}
.article-meta .icon-date {
margin-right: 0.06rem;