diff options
author | Christoph Cullmann <cullmann@kde.org> | 2019-08-03 22:41:09 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2019-08-03 22:41:09 +0200 |
commit | 7f50f6106d557f13a34b4978a676b127a0435981 (patch) | |
tree | 8a269710c334d8b8681c85fb8a79b7fa08da4f00 /themes/beautifulhugo/layouts/partials/footer.html | |
parent | c43a62caba5ea05f0196eead6f4e2af00c884638 (diff) |
port changes from kate-editor.org
Diffstat (limited to 'themes/beautifulhugo/layouts/partials/footer.html')
-rw-r--r-- | themes/beautifulhugo/layouts/partials/footer.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/themes/beautifulhugo/layouts/partials/footer.html b/themes/beautifulhugo/layouts/partials/footer.html index 030f657..15bd69d 100644 --- a/themes/beautifulhugo/layouts/partials/footer.html +++ b/themes/beautifulhugo/layouts/partials/footer.html @@ -50,7 +50,7 @@ <!-- Please don't remove this, keep my open source work credited :) --> <p class="credits theme-by text-muted"> {{ i18n "poweredBy" . | safeHTML }} - {{ with .Site.Params.commit }} • [<a href="{{.}}{{ getenv "GIT_COMMIT_SHA" }}">{{ getenv "GIT_COMMIT_SHA_SHORT" }}</a>]{{ end }} + {{ with .Site.Params.commit }} • [<a href="https://github.com/christoph-cullmann/cullmann.io/commit/{{ getenv "GIT_COMMIT_SHA" }}">{{ getenv "GIT_COMMIT_SHA_SHORT" }}</a>]{{ end }} </p> </div> </div> @@ -133,19 +133,19 @@ $(function(){ $('#show-comments').on('click', function(){ var disqus_shortname = '{{ .Site.DisqusShortname }}'; - + (function() { - var disqus = document.createElement('script'); - disqus.type = 'text/javascript'; + var disqus = document.createElement('script'); + disqus.type = 'text/javascript'; disqus.async = true; disqus.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(disqus); })(); - - $(this).hide(); + + $(this).hide(); }); }); - + </script> <script id="dsq-count-scr" src="//{{ .Site.DisqusShortname }}.disqus.com/count.js" async></script> <!-- End Delayed Disqus --> |