Skip to content

Commit

Permalink
Updates news
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmerfield committed Dec 21, 2023
1 parent 36a1e27 commit 113f3bc
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
9 changes: 7 additions & 2 deletions app/documentation/news.js
Expand Up @@ -24,7 +24,8 @@ const nextNewsletter = () => {
const now = moment();
const year = now.year();
const equinoxesAndSolstices = astro(year);
const { season, date } = equinoxesAndSolstices.find(({ season, date }) => {
const { season, date } = equinoxesAndSolstices.find(({ date }) => {
// add padding of a day
return now.isBefore(date);
});

Expand All @@ -50,7 +51,11 @@ const nextNewsletter = () => {

news.get("/", gitCommits, loadToDo, function (req, res) {
res.locals.fullWidth = true;
res.locals.nextNewsletter = nextNewsletter();
try {
res.locals.nextNewsletter = nextNewsletter();
} catch (e) {
console.log(e);
}
res.render("news");
});

Expand Down
32 changes: 32 additions & 0 deletions app/helper/email/newsletters/2023-4-winter.txt
@@ -0,0 +1,32 @@
Winter newsletter

*You received this email because you subscribed to [Blot’s newsletter](https://blot.im/about/news). You can [unsubscribe](https://blot.im/about/news/cancel) if you like. Please reply directly to this email if you have any thoughts or questions.*

**New features**
- Added some [new fonts](https://blot.im/examples/templates/fonts) to the font picker on the web template editor
- Added an option to preserve hard line breaks to the typography settings page of your site. By default, markdown collapses text before and after a single line break into one paragraph.
- You can now sign up with PayPal

**Changes**
- Made some improvements to the template editor
- Local template editing is much more streamlined. It's now not possible to clobber a template you're editing on Blot's website with local template files.
- Increased the price for future customers to $5 per month. This has not affected existing customers in any way: you will continue to pay the same fee as usual.
- We updated Blot’s dependencies to patch known security vulnerabilities and made tweaks to the dashboard and documentation, per tradition.

**Bugs fixed**
- You can now search [all questions](https://blot.im/questions)
- Screenshots generated for link posts now should have fonts loading correctly
- Images embedded from word Documents

**Questions**
-

**Mistakes**


**Plans for this season**


If you have any thoughts or questions about any of this, please don’t hesitate to reply directly to this email.

Sincerely, David
2 changes: 1 addition & 1 deletion app/helper/email/newsletters/readme.txt
Expand Up @@ -12,7 +12,7 @@ node scripts/state newsletter && node scripts/email/newsletter $(ls app/helper/e

Find PRs using this search query:

https://github.com/davidmerfield/Blot/pulls?q=sort%3Aupdated-asc+is%3Amerged+updated%3A%3E%3D2022-02-10+author%3A%40me+
https://github.com/davidmerfield/Blot/pulls?q=sort%3Amerged-asc+is%3Amerged+merged%3A%3E%3D2023-10-03+author%3A%40me+

Then look at the commits too just in case:

Expand Down

0 comments on commit 113f3bc

Please sign in to comment.