diff --git a/_config.yml b/_config.yml index f4ca83c..7d6abb3 100644 --- a/_config.yml +++ b/_config.yml @@ -98,6 +98,9 @@ delicious_count: 3 disqus_short_name: mic92 disqus_show_comment_count: false +# Flattr +flattr_user: Mic92 + # Google Analytics google_analytics_tracking_id: diff --git a/source/_includes/custom/head.html b/source/_includes/custom/head.html index 6ef3d75..21766a0 100644 --- a/source/_includes/custom/head.html +++ b/source/_includes/custom/head.html @@ -1 +1,14 @@ {% include custom/richobject.html %} +{% if site.flattr_user %} + +{% endif %} diff --git a/source/_includes/post/flattr_button.html b/source/_includes/post/flattr_button.html new file mode 100644 index 0000000..b70d301 --- /dev/null +++ b/source/_includes/post/flattr_button.html @@ -0,0 +1,9 @@ + diff --git a/source/_includes/post/sharing.html b/source/_includes/post/sharing.html index 735c992..c7bd480 100644 --- a/source/_includes/post/sharing.html +++ b/source/_includes/post/sharing.html @@ -1,4 +1,7 @@
+ {% if site.flattr_user %} + {% include post/flattr_button.html %} + {% endif %}
{% if site.facebook_like %} @@ -6,9 +9,9 @@ {% if site.twitter_tweet_button %} {% endif %} - {% if site.google_plus_one %} + {% if site.google_plus_one %} - {% endif %} + {% endif %}
diff --git a/source/atom.xml b/source/atom.xml index 8ae9631..45e7f2c 100644 --- a/source/atom.xml +++ b/source/atom.xml @@ -8,6 +8,9 @@ layout: nil {% if site.hub_url %}{% endif %} + {% if site.flattr_user %} + + {% endif %} {{ site.time | date_to_xmlschema }} {{ site.url }}/