summaryrefslogtreecommitdiffstats
path: root/Netware
AgeCommit message (Expand)Author
2008-01-04Update netware to use new SHA2 assembly language modules.Dr. Stephen Henson
2008-01-03Netware support.Dr. Stephen Henson
2005-06-13Netware patch submitted by Verdon Walker" <VWalker@novell.com> in PRRichard Levitte
2005-06-05Updated support for NetWare, submitted by Verdon Walker <VWalker@novell.com>.Richard Levitte
2004-06-28NetWare fixes provided by Verdon Walker for OpenSSL 0.9.8-dev.Richard Levitte
2003-11-28Netware-specific changes,Richard Levitte
ase-0.104.1'>release-0.104.1 Mirror of https://github.com/gohugoio/hugomatthias
summaryrefslogtreecommitdiffstats
path: root/tpl/tplimpl/embedded/templates/disqus.html
blob: 178d84caf8ab460a6c34a3d604784aae8efc3a05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{{- $pc := .Page.Site.Config.Privacy.Disqus -}}
{{- if not $pc.Disable -}}
{{ if .Site.DisqusShortname }}<div id="disqus_thread"></div>
<script type="application/javascript">
    var disqus_config = function () {
    {{with .GetParam "disqus_identifier" }}this.page.identifier = '{{ . }}';{{end}}
    {{with .GetParam "disqus_title" }}this.page.title = '{{ . }}';{{end}}
    {{with .GetParam "disqus_url" }}this.page.url = '{{ . | html  }}';{{end}}
    };
    (function() {
        if (["localhost", "127.0.0.1"].indexOf(window.location.hostname) != -1) {
            document.getElementById('disqus_thread').innerHTML = 'Disqus comments not available by default when the website is previewed locally.';
            return;
        }
        var d = document, s = d.createElement('script'); s.async = true;
        s.src = '//' + {{ .Site.DisqusShortname }} + '.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>
<a href="https://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>{{end}}
{{- end -}}