Newsletter Archive / Demo Site, Placeholders, Templates, Stats, Wikilinks
Date: Thu, 22 Jan 2026 11:22:32 +0100
From: support@blip.town
Subject: Demo Site, Placeholders, Templates, Stats, Wikilinks
Thanks for testing Bliptown! There have again been a lot of updates over the last few weeks...
Public Access Demo Site
The demo site https://demo.blip.town is now open to the public. Anyone can log in with the username/password demo/demo and play around. There are a few limitations, like no uploads and no changing settings, but it should be enough to give people an idea of the Bliptown workings.
The site content resets every 15 minutes (thanks to the snapshots feature) so people can be as destructive as they like.
Documentation
There is now plenty more documentation! Check it out here: https://blip.town/faq
There’s now a basic intro to editing pages, and docs on new features placeholders and templates.
Placeholders
Continuing the implementation of basic Mustache templating features,
you can now use {{ double braces }} as a placeholder to insert a
page’s metadata value, e.g.
---
title: My Page
---
# {{ title }}
The will replace {{ title }} with “My Page”.
Included pages inherit metadata from their “parent” pages.
There’s also a special placeholder: {{ prettydate }} for inserting a
formatted date.
More info here: https://blip.town/faq/placeholders
Templates
Something awesome about placeholders is that together with file inclusion it means we get basic templating for free!
Now you can make one template for artworks (say a title, date, and medium) and reuse it for multiple pages. You can then go back and change the format for all pages by just changing the template.
More info here: https://blip.town/faq/templates
Stats
Bliptown now generates basic visitor stats, available from the link in the top drawer.
Stats cover the number of hits and unique visitors of the last 7 days and are completely private and anonymous. Data is deleted after 7 days.
The Stats page is just another Markdown file, generated every hour with a simple Perl script. Even the “graphs” are just Unicode box drawings. Simple.
If you want to opt out of stats, simply delete the file /private/stats.md and it won’t be regenerated. If you want to opt back in, create the file again.
Given the vast majority of traffic on the web is now AI bots, I wanted a way to only count human interaction with sites, I didn’t want to use JavaScript, and I didn’t want to use tracking cookies. Luckily I had seen a post on this by the creator of Bear Blog: https://herman.bearblog.dev/how-bear-does-analytics-with-css/
Bliptown implements this same method, and it’s really quite ingenious.
As for anonymity, the visitor’s IP address is first run through GeoIP to find its country of origin, then it’s hashed using a separately stored secret. I then use that hash to group logs into unique visitors. This way an IP address is never associated with a visitor.
Your own logged-in visits are not counted.
Sorting Files
You can now sort the files on the Files page by clicking the little arrow at the top of a column. Files can be sorted by name (alphabetically), size (descending), or date (reverse chronologically).
Filtering Files with Glob
It was a security vulnerability to allow raw regular expressions in the file filtering input. I’ve changed this to accept more basic glob patterns, which is simpler and I like it more. You probably already know the basic syntax (or can guess it):
posts/*.md
This will select all Markdown (.md) files in the posts/ directory.
You can get pretty creative, with stuff like:
blog-{old,new}/*-[1-7].md
The full syntax with examples is here: https://blip.town/faq/bulk_actions
Wikilinks
Now you can link to pages with [[double brackets]]. This will create a
link to the page “double brackets” (including the space) relative to
the current page.
I’ve always wanted Bliptown to have similar functionality as a personal wiki and I think this achieves that.
JavaScript
You can now include arbitrary JavaScript by creating or editing the
file _scripts.js. The contents of this file will be included at the
end of each page, between <script> tags.
For linking to external JavaScript libraries, the method is still to include them in the _head.html file.
Creative Commons
Bliptown is now licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International licence. The source code is available at: https://blip.town/code
I know that it’s less common for code to be licensed under Creative Commons, but it is common for work in the art world, so it felt right.
Sincerely,
–
Paul W. Rankin
https://blip.town