fixes for codefactor

This commit is contained in:
Huy Tran 2018-04-05 07:57:07 +10:00
parent 82ce92d9c4
commit f830530c5a
2 changed files with 14 additions and 1 deletions

View file

@ -15,3 +15,16 @@
{{ partial "post_disqus.html" . }}
{{ end }}
{{- end }}
{{ if .Site.Params.GraphCommentId -}}
<div id="graphcomment"></div>
<script type="text/javascript">
window.graphcomment_id = '{{ .Site.Params.GraphCommentId }}';
/* - - - DON'T EDIT BELOW THIS LINE - - - */
(function() {
var gc = document.createElement('script'); gc.type = 'text/javascript'; gc.async = true;
gc.src = 'https://graphcomment.com/js/integration.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(gc);
})();
</script>
{{- end }}

View file

@ -71,7 +71,7 @@ code {
font-weight: 300;
}
img.center
.center
{
display: block;