Layouts 101: Creating a Web Comics theme with v013 (part 1)

This is the start of a series of posts that will give a large example of theming in Hugo. The theme is for a web comic site and will show off some of the new features in version 13.

The functionality for the theme is straight forward. It will support both “strip of the day” (a collection of images that don’t need to be viewed in any particular order), single series (one story with multiple pages that should be read in sequence) and multiple series (a site with multiple stories (such as Looking For Group

The theme will have the “typical” layout containing a customizable banner and navigation to move between pages (and stories if needed).

For strips and single series, the home page will show the current page. For a site with multiple series, the home page will have links to the current page of each of the series.

The theme will also support comments via Discourse.

I’m currently looking for a web comics theme, and found this entry via google. Was this abandoned, or was the discussion taken offsite?

Looking for the same thing. Closest I have found was this theme for Jekyll

Actually it’s pretty simple to make a web comic with Hugo.

Arguably the hardest part is generating the links for the first and most recent page of the comic but this question was answered a while back over here: [SOLVED] Get the first and last post in a section (date-based)

The rest, like the comic (posts) archive and the next/prev navigation are well documented.

Not long ago I added a website to the showcase section whose main content are comics. Maybe the theme fits your needs.

1 Like

I’ve started using Wordpress with Comic Easel To keep it static I use the Simply Static addon, then upload it to my webserver.

Sorry for the late reply. I put this aside because I thought that working with data files would be a good approach to handling images with different sizes. But that required a build pipeline to get the image size out and that required some research and so on. I’ll dig out what I started and update it for the new versions.

Have you considered

You can automate image sizes etc via their service.