Newsletter Archive / Blip Loops, Stripe, Backups, Snapshot Diffs, index.html Files
Date: Sun, 22 Mar 2026 10:06:07 +0000
From: support@blip.town
Subject: Blip Loops, Stripe, Backups, Snapshot Diffs, index.html Files
Mustache Loops
I’ve now implemented the last major piece of the Mustache templating language: loops.
A loop is supplied a glob pattern (like blog/*) which then iterates through the matching files and populates a template according to the metadata of those files. An example might be if you wanted a list of links to your blog pages:
{{ # blog/* }}
- [{{ title }}]({{ url }})
{{ / }}
This creates a Markdown list item for every file in blog/ which has a date value, in the format of the page’s title, and linked to the page’s URL. (The date value is required to give the list an order.)
The specification is: a loop begins with {{ # <glob pattern> }}, then comes the template to iterate over, then {{ / }} to close the loop. This may look confusing but don’t blame me, I didn’t write the Mustache language. (I will document all this, I promise.)
A more complex example is the Bliptown Newsletter archive:
This creates a table where each row is the date in one column, and title in the next, linked to the page URL.
If you want to include files rather than just their metadata, still use the inclusion syntax:
{{ > blog/* }}
Stripe Accounts
If you’re reading this then you are a Founding Member who has free Blip membership for life, but eventually other, less fortunate, people will need to pay, which requires a payment processor. I’ve now done the basic integration of Stripe. If you want to see your Founding Member 100%-off forever subscription status, you can via the settings page.
Backups
A snapshot backup of the whole server is taken daily, but this is intended for serious crashes. For accidental deletions of files that haven’t yet been included in your site snapshots (which, please make use of) .md .txt .css, .html, and .js files can be restored for up to seven days. This requires contacting support.
Better Snapshot Diffs
Instead of rendering raw plain text diff of the changes between snapshots, now changes are rendered as nice HTML pages with diff highlighting. Check it out in your snapshots (under +more in the files page), or here for an example: https://demo.blip.town/snapshots/diff/768020d (requires demo login).
HTML index.html Rendering
Previously in order to render HTML pages you needed to specify the complete filename (with the .html). Now Bliptown will render index.html pages at the base URL, e.g. the file blog/index.html will render at blog/.
Bugfixes
Previously someone could access the raw plain text version of a file in /private if they knew the URL. Now this is protected.
The settings to automatically create file backups could not be unchecked.
That’s it! Get back to making your site or making art!
Sincerely,
–
Paul W. Rankin
https://blip.town