Skip to content

Commit

Permalink
Add subscription
Browse files Browse the repository at this point in the history
  • Loading branch information
harikt committed Jun 26, 2016
1 parent 4b0b8da commit 693ecaf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _config.yml
Expand Up @@ -51,7 +51,7 @@ titlecase: true # Converts page and post titles to titlecase

# list each of the sidebar modules you want to include, in the order you want them to appear.
# To add custom asides, create files in /source/_includes/custom/asides/ and add them to the list like 'custom/asides/custom_aside_name.html'
default_asides: [asides/about.html, asides/recent_posts.html, asides/github.html, asides/delicious.html, asides/pinboard.html, asides/googleplus.html]
default_asides: [asides/about.html, asides/subscribe.html, asides/recent_posts.html, asides/github.html, asides/delicious.html, asides/pinboard.html, asides/googleplus.html]

# Each layout uses the default asides, but they can have their own asides instead. Simply uncomment the lines below
# and add an array with the asides you want to use.
Expand Down
10 changes: 10 additions & 0 deletions source/_includes/asides/subscribe.html
@@ -0,0 +1,10 @@
<h3>
Subscribe
</h3>
<form action="https://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('https://feedburner.google.com/fb/a/mailverify?uri=harikt/YKAJ', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">
<p>Email address: <input type="text" style="width:140px" name="email"/></p>
<input type="hidden" value="harikt/YKAJ" name="uri"/>
<input type="hidden" name="loc" value="en_US"/>
<input type="submit" value="Subscribe" />
<p>and get posts by email. Delivered by <a href="https://feedburner.google.com" target="_blank">FeedBurner</a></p>
</form>

0 comments on commit 693ecaf

Please sign in to comment.