Permalink
Browse files

Added social buttons to homepage.

  • Loading branch information...
1 parent 2448913 commit e6f129d8541ddaa8d8bce6435ccaa578bf66e9d3 @balupton balupton committed Feb 10, 2013
View
@@ -79,6 +79,11 @@ docpadConfig = {
description: "Empower your website frontends with layouts, meta-data, pre-processors (markdown, jade, coffeescript, etc.), partials, skeletons, file watching, querying, and an amazing plugin system. Use it either standalone, as a build script, or even as a module in a bigger system. Either way, DocPad will streamline your web development process allowing you to craft full-featured websites quicker than ever before.",
keywords: "bevry, bevryme, balupton, benjamin lupton, docpad, node, node.js, javascript, coffeescript, query engine, queryengine, backbone.js, cson",
services: {
+ facebookLikeButton: {
+ applicationId: '266367676718271'
+ },
+ twitterTweetButton: 'docpad',
+ twitterFollowButton: 'docpad',
disqus: 'docpad',
ircwebchat: 'docpad',
gauges: '50dead2bf5a1f541d7000008',
@@ -104,6 +104,10 @@ docpadConfig =
# Services
services:
+ facebookLikeButton:
+ applicationId: '266367676718271'
+ twitterTweetButton: 'docpad'
+ twitterFollowButton: 'docpad'
disqus: 'docpad'
ircwebchat: 'docpad'
gauges: '50dead2bf5a1f541d7000008'
@@ -64,4 +64,5 @@
<h3>Open Sourced, Community Driven</h3>
<p>Built on an open source foundation and supported by community maintained plugins, DocPad is getting better every single day.</p>
<a href="/docs/intro" title="Get Started" class="btn">Get Started with DocPad</a>
+ <div class="social-buttons"><%- @getSocialButtons() %></div>
</section>
@@ -480,6 +480,17 @@ nav li
&:hover
color: white
+ .social-buttons
+ .social-button
+ display: inline-block
+ width: 100px
+ text-align: left
+ overflow: hidden
+ &.google-plus-one-button
+ width: 80px
+ &.twitter-follow-button
+ width: 120px
+
// ====================================
// Navigation

0 comments on commit e6f129d

Please sign in to comment.