{"push_id":1195496394,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"24c86b49d13c67bb93a98c5236ee61f7d8324729","before":"7b0226247ba6879cc6e4933d7f8ee14b4cadfc90","commits":[{"sha":"24c86b49d13c67bb93a98c5236ee61f7d8324729","author":{"name":"Aileen Nowak","email":"11047879533ea90c01918b85dbb4c4bb1e454d39@ghost.org"},"message":"HTML newsletter template for subscribers (#7045)\n\nrefs #7023\r\n\r\nThe template can be used for all cases (different newsletter interval, different amount of blog posts, with or without blog picture).\r\n\r\nThe template can be filled with the following data structure:\r\n- `blog.logo` is the blog logo from settings\r\n- `blog.title` is the title of the current blog\r\n- `blog.url` is the URL of the blog\r\n- `blog.twitterURL` is the twitter profile URL of the blog from settings\r\n- `blog.facebookURL` is the facebook page URL of the blog from settings\r\n- `blog.unsubscribe` is the link for the reader to unsubscribe from the blog\r\n- `newsletter.interval` is the interval in words like 'weekly', 'daily', 'monthly'\r\n- `newsletter.date` is the date of the newsletter issue in a format like 'June 9th, 2016'\r\n- `blog.post` is expected to be an array:\r\n\t- `blog.post[i].picture` is the picture of the blog post. There are also conditionals, which change the inline CSS to either show a border-top if there's no picture (in that case the HTML code, that shows the picture is not active)\r\n\t- `blog.post[i].title` is the title of the current blog post\r\n\t- `blog.post[i].text` is the text of the current blog post, which needs to be cut down to 278 letters, plus ending with `&#x2026;`\r\n\t- `blog.post[i].url` is the URL of the current blog post\r\n\t- `blog.post[i].tag` is the tag of the current blog post\r\n\t- `blog.post[i].author` is the author of the current blog post\r\n\r\nImportant is, that only HEX HTML entities will work, especially in Outlook. So instead of `&mdash;` we need to use `&#x2014;` and `&#x2019;` instead of `&apos;` or `'` and so on.\r\n\r\nAdded unit test for newsletter template in `test/unit/mail/utils_spec.js`.","distinct":true,"url":"https://api.github.com/repos/TryGhost/Ghost/commits/24c86b49d13c67bb93a98c5236ee61f7d8324729"}]}
{"actor":{"display_login":"acburdine"}}