Blog

3 posts, read from a SQLite table. Each link is a clean URL.

Why plain English

22 October 2026

Most languages are written for the computer first and the reader second. Common tries the other order.

Read more →
The whole blog, list and post, is this
set slug to last of split path by "/"
if slug is "blog"
  set posts to ask database "select * from posts order by posted desc"
otherwise
  set posts to ask database "select * from posts where slug = ?" with slug
end

to show_post post
  show
    <h2><a href="/blog/[slug of post]">[title of post]</a></h2>
    <p>[first of paragraphs of body of post]</p>
  end
end

for each post in posts
  show_post post
end