Urgent.News

600+ sources. One page. See who else covered it.

Editions

Tech

My comment section is static HTML

The blogger behind this Hugo site opts for a unique approach to comments, keeping them in static HTML. When viewing the source of a post with comments, the comments appear directly in the HTML rather than being served through a widget, iframe, or third-party script. This results in no request to any server beyond the one hosting the blog. The JavaScript required for comments is minimal, limited to site search and small comforts. Notably, comments function perfectly even with JavaScript disabled.

The comments are hosted on a small Phoenix server called Popsicle Boat. Each post is associated with a thread on this server, created once during the initial post publishing process. This thread URL is embedded in the post's front matter. Any subsequent replies to the comments are added to this thread as plain HTML. If the Popsicle Boat server were to become unreachable, the build process would still progress, rendering the posts without comments. The system is designed to remain resilient and not adversely affect the blog's functionality.

Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at jva.lol →

More in Tech

After Supper: Rewinding a Family Dinner Through Memory

This is a submission for Frontend Challenge - Comfort Food Edition, Perfect Landing What I Built I built AFTER SUPPER, an interactive landing page about comfort food, memory, and the people around the…

  • "AFTER SUPPER" explores comfort food, memory, and dinner table dynamics
  • Users move backward through the dinner timeline, reconstructing the meal
  • Project emphasizes comfort food's connection to people and memories

More from Friday 14 August →