HTML Tags as Template Tokens
alanwsmith.com·1w
📝Markdown Parsers
Preview
Report Post

Or, The Reinvention of Cold Fusion

January 2026

Okay. Hear me out...

Templates, but they’re HTML tags.

Crazy. I know.

But, it just might work.

How It Started

I use MiniJinja1 for my static site generators. It’s the Rust version of Jinja2. It’s fantastic.

I don’t like the default tokens for tags, expressions, and comments. That’s not a problem. MiniJinja lets you change them. I switch out:

{{ }}
{% %}
{# #}

with:

[@ @]
[! !]
[# #]

The sharp edges of the square brackets are easier for me to track and read.

Where I’m Coming From

I spend a lot of time thinking about how to make it easier for folks to make stuff on the web. Eventually, all the static site generators I build for myself will be ret-co…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help