Avoid advertisement
This commit is contained in:
parent
61b7822f27
commit
6611e64d95
@ -50,11 +50,6 @@
|
|||||||
<a href="{{ "" | absLangURL }}">{{ .Site.Title }}</a>
|
<a href="{{ "" | absLangURL }}">{{ .Site.Title }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</p>
|
</p>
|
||||||
<!-- Please don't remove this, keep my open source work credited :) -->
|
|
||||||
<p class="credits theme-by text-muted">
|
|
||||||
{{ i18n "poweredBy" . | safeHTML }}
|
|
||||||
{{ if $.GitInfo }} • [<a href="{{ .Site.Params.commit }}{{ .GitInfo.Hash }}">{{ substr .GitInfo.Hash 0 8 }}</a>]{{ end }}
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -91,9 +86,8 @@
|
|||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.2/photoswipe-ui-default.min.js" integrity="sha384-m67o7SkQ1ALzKZIFh4CiTA8tmadaujiTa9Vu+nqPSwDOqHrDmxLezTdFln8077+q" crossorigin="anonymous"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.2/photoswipe-ui-default.min.js" integrity="sha384-m67o7SkQ1ALzKZIFh4CiTA8tmadaujiTa9Vu+nqPSwDOqHrDmxLezTdFln8077+q" crossorigin="anonymous"></script>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
<script src="{{ "js/load-photoswipe.js" | absURL }}"></script>
|
<script src="{{ "js/load-photoswipe.js" | absURL }}"></script>
|
||||||
|
|
||||||
<!-- Google Custom Search Engine -->
|
|
||||||
{{ if .Site.Params.gcse }}
|
{{ if .Site.Params.gcse }}
|
||||||
|
<!-- Google Custom Search Engine -->
|
||||||
<script>
|
<script>
|
||||||
(function() {
|
(function() {
|
||||||
var cx = '{{ .Site.Params.gcse }}';
|
var cx = '{{ .Site.Params.gcse }}';
|
||||||
@ -136,19 +130,19 @@
|
|||||||
$(function(){
|
$(function(){
|
||||||
$('#show-comments').on('click', function(){
|
$('#show-comments').on('click', function(){
|
||||||
var disqus_shortname = '{{ .Site.DisqusShortname }}';
|
var disqus_shortname = '{{ .Site.DisqusShortname }}';
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
var disqus = document.createElement('script');
|
var disqus = document.createElement('script');
|
||||||
disqus.type = 'text/javascript';
|
disqus.type = 'text/javascript';
|
||||||
disqus.async = true;
|
disqus.async = true;
|
||||||
disqus.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
disqus.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
||||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(disqus);
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(disqus);
|
||||||
})();
|
})();
|
||||||
|
|
||||||
$(this).hide();
|
$(this).hide();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<script id="dsq-count-scr" src="//{{ .Site.DisqusShortname }}.disqus.com/count.js" async></script>
|
<script id="dsq-count-scr" src="//{{ .Site.DisqusShortname }}.disqus.com/count.js" async></script>
|
||||||
<!-- End Delayed Disqus -->
|
<!-- End Delayed Disqus -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user