From 405df2a892081b6c1222f23df9bfc042c198083c Mon Sep 17 00:00:00 2001 From: Benjamin Lupton Date: Thu, 31 Oct 2013 17:34:05 +1100 Subject: [PATCH] Added donate buttons to contact from. Updated dependencies. Changed "I am" to "I've become" --- docpad.coffee | 4 ++++ package.json | 4 ++-- src/documents/styles/style.css.styl | 26 ++++++++++++++++++++++++ src/partials/content/contact.html.md | 11 ---------- src/partials/content/contact.html.md.eco | 16 +++++++++++++++ 5 files changed, 48 insertions(+), 13 deletions(-) delete mode 100644 src/partials/content/contact.html.md create mode 100644 src/partials/content/contact.html.md.eco diff --git a/docpad.coffee b/docpad.coffee index 9dddd513..67e53783 100644 --- a/docpad.coffee +++ b/docpad.coffee @@ -111,6 +111,10 @@ module.exports = googleAnalytics: 'UA-4446117-1' reinvigorate: '52uel-236r9p108l' + gittipButton: 'balupton' + flattrButton: '344188/balupton-on-Flattr' + paypalButton: 'QB8GQPZAH84N6' + social: """ feedly diff --git a/package.json b/package.json index 39416471..39dd890f 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "npm": "1.3" }, "dependencies": { - "docpad": "~6.54.0", + "docpad": "~6.54.2", "docpad-plugin-cachr": "~2.2.0", "docpad-plugin-cleanurls": "~2.5.1", "docpad-plugin-coffeekup": "~2.2.0", @@ -37,7 +37,7 @@ "docpad-plugin-feedr": "~2.6.0", "docpad-plugin-marked": "~2.1.1", "docpad-plugin-partials": "~2.8.0", - "docpad-plugin-services": "~2.4.4", + "docpad-plugin-services": "~2.4.6", "docpad-plugin-stylus": "~2.5.0", "docpad-plugin-text": "~2.3.1", "getrepos": "~1.0.2" diff --git a/src/documents/styles/style.css.styl b/src/documents/styles/style.css.styl index 7f9add39..5dc7a791 100644 --- a/src/documents/styles/style.css.styl +++ b/src/documents/styles/style.css.styl @@ -360,6 +360,32 @@ article.page margin: 0.5em 0 +// Services +.service-buttons + margin-top: 1.5em + +.social-buttons +.service-badges + display: block + margin-top: 0.5em + +.service-button + display: inline-block + width: 100px + text-align: left + overflow: hidden + &.google-plus-one-button + &.hacker-news-submit-button + width: 80px + &.twitter-follow-button + &.fury-button + width: 130px + &.reddit-submit-button + width: 140px + iframe + padding-top: 3px + + // ==================================== // Layout: Initial diff --git a/src/partials/content/contact.html.md b/src/partials/content/contact.html.md deleted file mode 100644 index be3e870b..00000000 --- a/src/partials/content/contact.html.md +++ /dev/null @@ -1,11 +0,0 @@ -## Support -Free support is provided through [StackOverflow](http://stackoverflow.com/). Paid support is provided through [my company](http://bevry.me/support). - -## Consulting -Consulting services are available through [my company](http://bevry.me/services). - -## Contact -For all other purposes; I like [twitter](http://twitter.com/balupton) a lot, [quora](http://www.quora.com/Benjamin-Lupton) for questions, [branch](http://branch.com/) for discussions, [google hangouts](http://www.google.com/+/learnmore/hangouts/onair.html) for meetups, [skype](skype:balupton?add) for calls, and my [personal email](mailto:b@lupton.cc) and [work email](mailto:b@bevry.me) that I check once a week every Monday. - -## Expectation -I am a [vegan](http://en.wikipedia.org/wiki/Veganism) who lives by the [Open Information Pledge](https://gist.github.com/balupton/6937426) and the [Holstee Manifesto](http://shop.holstee.com/pages/manifesto). If this can't work for you, then I can't work for you. If it can, then let us create something amazing together. \ No newline at end of file diff --git a/src/partials/content/contact.html.md.eco b/src/partials/content/contact.html.md.eco new file mode 100644 index 00000000..ea95cea6 --- /dev/null +++ b/src/partials/content/contact.html.md.eco @@ -0,0 +1,16 @@ +## Support +Free support is provided through [StackOverflow](http://stackoverflow.com/). Paid support is provided through [my company](http://bevry.me/support). + +## Consulting +Consulting services are available through [my company](http://bevry.me/services). + +## Contact +For all other purposes; I like [twitter](http://twitter.com/balupton) a lot, [quora](http://www.quora.com/Benjamin-Lupton) for questions, [branch](http://branch.com/) for discussions, [google hangouts on air](http://www.google.com/+/learnmore/hangouts/onair.html) for meetups, [skype](skype:balupton?add) for calls, and my [personal email](mailto:b@lupton.cc) and [work email](mailto:b@bevry.me) that I check once a week every Monday. + +## Expectation +I've become a [vegan](http://en.wikipedia.org/wiki/Veganism) who lives by the [Open Information Pledge](https://gist.github.com/balupton/6937426) and the [Holstee Manifesto](http://shop.holstee.com/pages/manifesto). If this can't work for you, then I can't work for you. If it can, then let us create something amazing together. + +## Donate +If you've received value from any of my services or products, if you can, I'd greatly appreciate financial donations. Financial donations are how I earn my income these days and support my family. You can use any of these buttons to donate: + +<%- @getServiceBadges() %>