diff --git a/_config.yml b/_config.yml index 9185388..1c8b133 100644 --- a/_config.yml +++ b/_config.yml @@ -1,16 +1,28 @@ +# Jekyll configuration + name: My blog description: A jekyll theme + +# url is currently only used only for the RSS feed in atom.xml url: http://scotte.github.io + +# baseurl will usually be '' baseurl: /jekyll-clean -# Set the following to enable these features, leave as '' to disable them +# This can be '' to hide the Github nav button github: 'scotte/jekyll-clean' + +# Set this to your UA-# value, or '' to disable the block completely gaaccount: '' + +# Set this to your disqus shortname to enable comments. Note that the 'comments' +# setting below must also be true. Individual posts can override 'comments' to +# disable on a post-by-post basis disqus: '' +comments: true permalink: /:year/:month/:title paginate: 3 -comments: true highlighter: pygments markdown: redcarpet diff --git a/_includes/analytics.html b/_includes/analytics.html new file mode 100644 index 0000000..4af718b --- /dev/null +++ b/_includes/analytics.html @@ -0,0 +1,11 @@ +{% if site.gaaccount != '' %} + +{% endif %} diff --git a/_includes/disqus-comments.html b/_includes/disqus-comments.html new file mode 100644 index 0000000..6efbc11 --- /dev/null +++ b/_includes/disqus-comments.html @@ -0,0 +1,11 @@ +{% if page.comments %} + +{% endif %} diff --git a/_includes/disqus-counts.html b/_includes/disqus-counts.html new file mode 100644 index 0000000..dbab80e --- /dev/null +++ b/_includes/disqus-counts.html @@ -0,0 +1,12 @@ +{% if site.comments == true and site.disqus != '' %} + +{% endif %} diff --git a/_includes/footer.html b/_includes/footer.html index 6af8485..6cf6019 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -3,37 +3,13 @@
- {% if site.comments == true and site.disqus != '' %} - - {% endif %} - - - {% if site.gaaccount != '' %} - - {% endif %} +{% include disqus-counts.html %} +{% include analytics.html %}