Hide footer tags link if no tags exist

Hide meta description if DESCRIPTION is undefined

Minor improvements
This commit is contained in:
Raymond Wanyoike 2016-11-16 15:17:40 +03:00
commit bfb5895c63
6 changed files with 14 additions and 7 deletions

View file

@ -2,12 +2,13 @@
<hr>
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
var disqus_config = function() {
this.page.url = '{{ SITEURL }}/{{ output_file }}';
this.page.identifier = '{{ article.slug }}';
};
(function() {
var d = document, s = d.createElement('script');
var d = document;
var s = d.createElement('script');
s.src = '//{{ DISQUS_SITENAME }}.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);