2018-01-24 09:42:50 +00:00
|
|
|
{{ if .Site.Params.highlightjs -}}
|
2018-02-21 23:37:37 +00:00
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
|
2018-01-24 09:42:50 +00:00
|
|
|
{{ range .Site.Params.highlightjslanguages }}
|
2018-02-21 23:37:37 +00:00
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/{{.}}.min.js"></script>
|
2018-01-24 09:42:50 +00:00
|
|
|
{{ end }}
|
|
|
|
<script type="text/javascript">
|
2018-04-04 12:04:36 +00:00
|
|
|
hljs.configure({languages: []});
|
2018-01-24 09:42:50 +00:00
|
|
|
hljs.initHighlightingOnLoad();
|
|
|
|
</script>
|
|
|
|
{{- end }}
|
|
|
|
<!-- Disqus-->
|
|
|
|
{{ if .Site.DisqusShortname -}}
|
|
|
|
{{ if ne .Params.showcomments false }}
|
|
|
|
<h2>Comments</h2>
|
2018-04-08 21:52:06 +00:00
|
|
|
{{ partial "commenting_disqus.html" . }}
|
2018-01-24 09:42:50 +00:00
|
|
|
{{ end }}
|
2018-04-05 06:17:04 +00:00
|
|
|
{{ else if .Site.Params.GraphCommentId -}}
|
2018-04-08 21:52:06 +00:00
|
|
|
{{ partial "commenting_graph.html" . }}
|
2018-04-04 21:57:07 +00:00
|
|
|
{{- end }}
|