Update for comments

This commit is contained in:
Ariejan de Vroom 2015-03-26 13:38:28 +01:00
parent dc8ede2a6a
commit 7e2a0196cd
3 changed files with 10 additions and 3 deletions

View File

@ -3,7 +3,6 @@ languageCode = "en-us"
title = "ariejan de vroom"
theme = "outerspace"
copyright = "Ariejan de Vroom"
disqusShortname = "ariejannet"
[author]
name = "Ariejan de Vroom"

View File

@ -20,7 +20,15 @@
{{ if eq .Section "posts" }}
<div class="comments">
{{ template "_internal/disqus.html" . }}
<div id="disqus_thread"></div>
<script>
var disqus_url = "http://ariejan.net{{ .RelPermalink | safeUrl }}";
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//ariejannet.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
</div>
{{ end }}

View File

@ -1,5 +1,5 @@
@charset 'UTF-8';
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700);
@import url(//fonts.googleapis.com/css?family=Source+Sans+Pro:400,700);
/* Rest */
html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;*font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}