Redirect Screenjesus for a single Neocities thumbnail

2026-09-09 07:06

Thanks to Brennan Day for pointing out how How the Mysterious ScreenJesus can DDoS You, and the subsequent How to Control Your Neocities Thumbnail tutorial, I can, if all goes to plan, testing with this post here, get Neocities to show only the one single thumbnail for this latest post.

This is specific to my use of Zola SSG and hosting on Neocities, and will hopefully result in only a single thumbnail of my newest post entry showing in my Neocities feed, rather than all the pages that get updated due to my website build setup:

Unnecessary thumbnails taking the focus away from the latest post

Using the guide, I figured I could inject this code into my <head> HTML in /templates/partials/base.html which gets included on every single page generated:

<script>
  if (navigator.userAgent === "Screenjesus") {
    location.replace("/posts/<LATEST-POST>.html");
  }
</script>

All I need to do is update <LATEST-POST> prior to zola build then it should hopefully do the deeds. I could probably automate this with a pre-build script (something I want to do anyway so I don't have to manually rename my blog-post-template.md file every time I make a new post).

Let's see how this goes.

Update: It didn't work.


Leave a comment