Skip to content

Instantly share code, notes, and snippets.

@petehamilton
Created November 17, 2012 02:46
Show Gist options
  • Save petehamilton/4092848 to your computer and use it in GitHub Desktop.
Save petehamilton/4092848 to your computer and use it in GitHub Desktop.
Sample email config for Digest Email gem
# sample_digest_email.yml
# Parses with the digest_email (http://peterhamilton.github.com/digest_email) gem
# See the result of running this file through the gem here: http://docsoc.s3.amazonaws.com/sample/sample_digest_email.html
header:
title: "Weekly Digest"
subtitle: November 12th 2012
subsubtitle:
items:
- list_title: New, Easy Email Digests
image: https://s3-eu-west-1.amazonaws.com/docsoc/sample/suitcase.jpg
title: We have nice simple email digests!
body: |
This is an example of a simple digest item.
In this example it might be for a potential industry placement - for example, check out the rather nice suitcase image on the left
These fields can use markdown so:
1. We can use lists
2. We can *italicize* and **bold** words
3. We can easily write [links](http://peterhamilton.github.com)
- list_title: Robotics Hackathon
image: https://s3-eu-west-1.amazonaws.com/docsoc/sample/walle.jpg
title: These aren't the droids you're looking for...
body: |
Another sample sigest item. This one is all about a fantasy hackathon!
I imagine it would be held at Imperial and there would be more information [here](#)
[here](#) and [here](#)
Finally there would be the bombshell that it's **TOMORROW!**
For more details contact *[Peter Hamilton](http://peterhamilton.github.com)*
footer:
signature: -- DoCSoc Committee 2012
sponsors_image: https://s3-eu-west-1.amazonaws.com/docsoc/docsocsponsors.jpg # Bottom Sponsor Banner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment