Browse Source

Isso -> Disqus

master
angristan 5 months ago
parent
commit
12b52c3bd3
4 changed files with 23 additions and 6 deletions
  1. +1
    -1
      assets/built/custom.css
  2. +1
    -1
      assets/built/custom.css.map
  3. +5
    -0
      assets/css/custom.css
  4. +16
    -4
      post.hbs

+ 1
- 1
assets/built/custom.css View File

@@ -1,2 +1,2 @@
@font-face{font-family:Source Sans Pro;font-style:normal;font-weight:400;src:url(../fonts/source-sans-pro-v11-latin-regular.eot);src:local("Source Sans Pro Regular"),local("SourceSansPro-Regular"),url(../fonts/source-sans-pro-v11-latin-regular.eot?#iefix) format("embedded-opentype"),url(../fonts/source-sans-pro-v11-latin-regular.woff2) format("woff2"),url(../fonts/source-sans-pro-v11-latin-regular.woff) format("woff"),url(../fonts/source-sans-pro-v11-latin-regular.ttf) format("truetype"),url(../fonts/source-sans-pro-v11-latin-regular.svg#SourceSansPro) format("svg")}.post-card-excerpt,.post-full-content,.post-full-content h5,.site-header-content .author-meta,.subscribe-overlay-description{font-family:Source Sans Pro,Georgia,serif}.post-full-content{font-size:1.9rem}.post-full-content h2{margin:.5em 0;font-size:3rem}#isso-thread{padding:0 100px!important}@media (max-width:1170px){#isso-thread{padding:5vw 7vw 0!important}}@media (max-width:500px){#isso-thread{padding:0!important}}.post-full-footer{padding:3vw 0}@media (min-width:900px){.floating-header{height:50px}}.post-template .post-content>p:first-child{font-size:inherit;line-height:inherit}.site-footer{padding-bottom:20px}.author-card-name{padding:0 0 5px}.post-full-content img,.post-full-content video{margin:.5em auto}.post-full-content pre{margin:0 0 2em}.post-full-header{padding:3vw}@media (max-width:500px){.post-full-header{padding:10vw 3vw 8vw}}.post-full-image{display:block;margin-top:0}.post-full-image img{height:100%!important}@media (max-width:500px){.post-full-image{height:100%!important}}.post-full-content:after,.post-full-content:before{display:none}@media (max-width:500px){.post-full-content{padding:30px 0 0}}.floating-header-blog-title{margin-right:1px}.isso-comment-footer svg{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.isso-comment-footer .downvote svg{-webkit-transform:translateY(-5px) translateX(3px);transform:translateY(-5px) translateX(3px)}.isso-comment-footer .reply{display:inline-block;-webkit-transform:translateY(-2px);transform:translateY(-2px)}.isso-comment-footer .votes{display:inline-block;-webkit-transform:translateY(2px);transform:translateY(2px)}.kg-image-card figcaption{margin:0}code,kbd,pre,samp{font-family:Menlo,DejaVu Sans Mono,Liberation Mono,Consolas,Ubuntu Mono,Courier New,andale mono,lucida console,monospace}.post-full-content h4{font-size:2.4rem}.avatar img{border-radius:10px}.kg-image-card figcaption{margin-top:10px}.post-full-content p code{word-break:inherit}
@font-face{font-family:Source Sans Pro;font-style:normal;font-weight:400;src:url(../fonts/source-sans-pro-v11-latin-regular.eot);src:local("Source Sans Pro Regular"),local("SourceSansPro-Regular"),url(../fonts/source-sans-pro-v11-latin-regular.eot?#iefix) format("embedded-opentype"),url(../fonts/source-sans-pro-v11-latin-regular.woff2) format("woff2"),url(../fonts/source-sans-pro-v11-latin-regular.woff) format("woff"),url(../fonts/source-sans-pro-v11-latin-regular.ttf) format("truetype"),url(../fonts/source-sans-pro-v11-latin-regular.svg#SourceSansPro) format("svg")}.post-card-excerpt,.post-full-content,.post-full-content h5,.site-header-content .author-meta,.subscribe-overlay-description{font-family:Source Sans Pro,Georgia,serif}.post-full-content{font-size:1.9rem}.post-full-content h2{margin:.5em 0;font-size:3rem}#isso-thread{padding:0 100px!important}@media (max-width:1170px){#isso-thread{padding:5vw 7vw 0!important}}@media (max-width:500px){#isso-thread{padding:0!important}}.post-full-footer{padding:3vw 0}@media (min-width:900px){.floating-header{height:50px}}.post-template .post-content>p:first-child{font-size:inherit;line-height:inherit}.site-footer{padding-bottom:20px}.author-card-name{padding:0 0 5px}.post-full-content img,.post-full-content video{margin:.5em auto}.post-full-content pre{margin:0 0 2em}.post-full-header{padding:3vw}@media (max-width:500px){.post-full-header{padding:10vw 3vw 8vw}}.post-full-image{display:block;margin-top:0}.post-full-image img{height:100%!important}@media (max-width:500px){.post-full-image{height:100%!important}}.post-full-content:after,.post-full-content:before{display:none}@media (max-width:500px){.post-full-content{padding:30px 0 0}}.floating-header-blog-title{margin-right:1px}.isso-comment-footer svg{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.isso-comment-footer .downvote svg{-webkit-transform:translateY(-5px) translateX(3px);transform:translateY(-5px) translateX(3px)}.isso-comment-footer .reply{display:inline-block;-webkit-transform:translateY(-2px);transform:translateY(-2px)}.isso-comment-footer .votes{display:inline-block;-webkit-transform:translateY(2px);transform:translateY(2px)}.kg-image-card figcaption{margin:0}code,kbd,pre,samp{font-family:Menlo,DejaVu Sans Mono,Liberation Mono,Consolas,Ubuntu Mono,Courier New,andale mono,lucida console,monospace}.post-full-content h4{font-size:2.4rem}.avatar img{border-radius:10px}.kg-image-card figcaption{margin-top:10px}.post-full-content p code{word-break:inherit}.post-full-comments{padding:0 170px 6vw}
/*# sourceMappingURL=custom.css.map */

+ 1
- 1
assets/built/custom.css.map
File diff suppressed because it is too large
View File


+ 5
- 0
assets/css/custom.css View File

@@ -209,3 +209,8 @@ samp {
.post-full-content p code {
word-break: inherit;
}

/* Make comments the same width as content */
.post-full-comments {
padding: 0 170px 6vw;
}

+ 16
- 4
post.hbs View File

@@ -116,10 +116,22 @@ into the {body} of the default.hbs template --}}


<section class="post-full-comments">
{{!-- Isso (hardcoded) --}}
<script data-isso="https://isso.angristan.xyz/" data-isso-gravatar="true" data-isso-avatar="false"
src="https://isso.angristan.xyz/js/embed.min.js"></script>
<section id="isso-thread"></section>
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = "{{url absolute="true"}}";
this.page.identifier = "ghost-{{comment_id}}"
};

(function() {
var d = document, s = d.createElement('script');
s.src = 'https://angristan-xyz.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>

</section>




Loading…
Cancel
Save