# Latest

**URL:** https://zine.discourse.group/latest.md

[Latest](https://zine.discourse.group/latest.md) · [Categories](https://zine.discourse.group/categories.md)

---

## [Flat file structure in output?](https://zine.discourse.group/t/flat-file-structure-in-output/77)

<div class="topic-metadata">

**Author:** [@caled17](https://zine.discourse.group/u/caled17)\
**Replies:** 2\
**Last updated:** [November 20, 2026, 1:26pm UTC](https://zine.discourse.group/t/flat-file-structure-in-output/77 "2026-11-20T13:26:36Z")

</div>

I’m trying to use Zine to generate the static content of a site hosted on AWS, where I’m using CloudFront to serve the content from S3. The problem is, CloudFront can’t be configured to serve index.html files from paths …

---

## [How to make an image grid?](https://zine.discourse.group/t/how-to-make-an-image-grid/70)

<div class="topic-metadata">

**Author:** [@jcpsantiago](https://zine.discourse.group/u/jcpsantiago)\
**Replies:** 3\
**Last updated:** [November 20, 2026, 12:36am UTC](https://zine.discourse.group/t/how-to-make-an-image-grid/70 "2026-11-20T00:36:20Z")

</div>

I’m slowly porting my company’s website (knowuro.com) after following development for a while, and exchanging some emails with @alectronic of My blog port experience fame. After an initial head hurts what is going on pe…

---

## [Images in the latest post](https://zine.discourse.group/t/images-in-the-latest-post/76)

<div class="topic-metadata">

**Author:** [@Boris\_Kimel](https://zine.discourse.group/u/Boris_Kimel)\
**Replies:** 2\
**Last updated:** [November 4, 2026, 8:41pm UTC](https://zine.discourse.group/t/images-in-the-latest-post/76 "2026-11-04T20:41:02Z")

</div>

These are not shown. The post is rendered under /blog, which makes \[\]($image.asset('cat.jpg').id('foo')) not being able to find the local images. Not that I could not find a workaround, but this could be working out of…

---

## [Static format string (scripty)](https://zine.discourse.group/t/static-format-string-scripty/57)

<div class="topic-metadata">

**Author:** [@eamonburns](https://zine.discourse.group/u/eamonburns)\
**Replies:** 2\
**Last updated:** [November 2, 2026, 9:14am UTC](https://zine.discourse.group/t/static-format-string-scripty/57 "2026-11-02T09:14:47Z")

</div>

I would like to create a formatted string with a static format: In Zig, it would be: print("Hello ({})", .{name}); My first attempt was this: \<p :text="'Hello ({})'.fmt($ctx.name)"\>\</p\> But that wasn’t started with …

---

## [Complex Hugo v0.160 to Zine 0.13 migration](https://zine.discourse.group/t/complex-hugo-v0-160-to-zine-0-13-migration/40)

<div class="topic-metadata">

**Author:** [@maschinenstuermer](https://zine.discourse.group/u/maschinenstuermer)\
**Replies:** 10\
**Last updated:** [October 31, 2026, 12:35pm UTC](https://zine.discourse.group/t/complex-hugo-v0-160-to-zine-0-13-migration/40 "2026-10-31T12:35:35Z")

</div>

Hey! I just finished an MVP version of my blog migration. My old hugo page had a looooot of shortcodes and the migration took some weeks. I will attach more details in this thread this week. But now some links: The sof…

---

## [Is there an external data loading pattern?](https://zine.discourse.group/t/is-there-an-external-data-loading-pattern/69)

<div class="topic-metadata">

**Author:** [@mossymaker](https://zine.discourse.group/u/mossymaker)\
**Replies:** 0\
**Last updated:** [October 26, 2026, 3:56am UTC](https://zine.discourse.group/t/is-there-an-external-data-loading-pattern/69 "2026-10-26T03:56:18Z")

</div>

I have an Astro.build site that I want to migrate. I’ve relied on its content collections feature to load data from my CMS’ GraphQL API. Based on the docs I’ve read, Zine appears to be file focused, which is great, but …

---

## [Zine 0.14.0 breaks linked images](https://zine.discourse.group/t/zine-0-14-0-breaks-linked-images/68)

<div class="topic-metadata">

**Author:** [@c\_n](https://zine.discourse.group/u/c_n)\
**Replies:** 0\
**Last updated:** [October 19, 2026, 4:02pm UTC](https://zine.discourse.group/t/zine-0-14-0-breaks-linked-images/68 "2026-10-19T16:02:03Z")

</div>

\[!\[\](/foo.png "foo")\](http://example.com) works with Zine 0.13.0, but not 0.14.0. I will post here when I’ve found a solutiion.

---

## [Research feature in zine](https://zine.discourse.group/t/research-feature-in-zine/67)

<div class="topic-metadata">

**Author:** [@hackerman](https://zine.discourse.group/u/hackerman)\
**Replies:** 1\
**Last updated:** [October 15, 2026, 1:08pm UTC](https://zine.discourse.group/t/research-feature-in-zine/67 "2026-10-15T13:08:28Z")

</div>

I was wondering if there is any feature for searching inside the website? as in my current blog bazedtux.com ? thank you very much

---

## [Zine v0.13.0](https://zine.discourse.group/t/zine-v0-13-0/33)

<div class="topic-metadata">

**Author:** [@kristoff](https://zine.discourse.group/u/kristoff)\
**Replies:** 3\
**Last updated:** [October 1, 2026, 9:37pm UTC](https://zine.discourse.group/t/zine-v0-13-0/33 "2026-10-01T21:37:12Z")

</div>

Zine v0.13.0 A few bugfixes and a small number of new features, including the new SuperMD restriction for headings mentioned in Table of Contents situation. This new check has both discovered heading level skips that I …

---

## [Escaping HTML Characters](https://zine.discourse.group/t/escaping-html-characters/64)

<div class="topic-metadata">

**Author:** [@alectronic](https://zine.discourse.group/u/alectronic)\
**Replies:** 0\
**Last updated:** [September 25, 2026, 7:09pm UTC](https://zine.discourse.group/t/escaping-html-characters/64 "2026-09-25T19:09:21Z")

</div>

I noticed that Zine correctly transforms some special characters such as ampersands, double-quotes and single-quotes to HTML entities from a superhtml template but not from SuperMD (I didn’t test all characters). Should …

---

## [Zine MathML rendering](https://zine.discourse.group/t/zine-mathml-rendering/62)

<div class="topic-metadata">

**Author:** [@lcp5y3](https://zine.discourse.group/u/lcp5y3)\
**Replies:** 1\
**Last updated:** [September 21, 2026, 2:18pm UTC](https://zine.discourse.group/t/zine-mathml-rendering/62 "2026-09-21T14:18:39Z")

</div>

Disclaimer: I’ve no experience in web dev If, like me, you are a little bit disappointed by your equations rendering (too much space on top and bottom): Maybe I get a solution! After spending a lot of time on CSS co…

---

## [Experience porting sites from Hugo](https://zine.discourse.group/t/experience-porting-sites-from-hugo/15)

<div class="topic-metadata">

**Author:** [@richardlehane](https://zine.discourse.group/u/richardlehane)\
**Replies:** 6\
**Last updated:** [September 18, 2026, 10:42am UTC](https://zine.discourse.group/t/experience-porting-sites-from-hugo/15 "2026-09-18T10:42:54Z")

</div>

Many thanks @kristoff for Zine, I’ve been enjoying using it over the past few weeks. I’ve ported two personal sites over from Hugo: github/richardlehane/richardlehane.me github/richardlehane/sipli.city Both hosted wi…

---

## [Staging URLs](https://zine.discourse.group/t/staging-urls/60)

<div class="topic-metadata">

**Author:** [@Fireye](https://zine.discourse.group/u/Fireye)\
**Replies:** 2\
**Last updated:** [September 15, 2026, 7:43pm UTC](https://zine.discourse.group/t/staging-urls/60 "2026-09-15T19:43:23Z")

</div>

When working on websites, I’ve found it to be good practice to create a staging environment on a different branch. The problem is that, as far as I can tell, the .host\_url attribute only allows one URL, so if my site is…

---

## [Split posts by year?](https://zine.discourse.group/t/split-posts-by-year/61)

<div class="topic-metadata">

**Author:** [@mtfamb](https://zine.discourse.group/u/mtfamb)\
**Replies:** 3\
**Last updated:** [September 15, 2026, 2:32pm UTC](https://zine.discourse.group/t/split-posts-by-year/61 "2026-09-15T14:32:23Z")

</div>

I want to update blog page dividing it in sections by the year of the posts putting only the month and the day besides the post title and the year only appears once kinda hard to explain that but is something like …

---

## [Zine v0.14.0](https://zine.discourse.group/t/zine-v0-14-0/59)

<div class="topic-metadata">

**Author:** [@kristoff](https://zine.discourse.group/u/kristoff)\
**Replies:** 0\
**Last updated:** [September 3, 2026, 2:26pm UTC](https://zine.discourse.group/t/zine-v0-14-0/59 "2026-09-03T14:26:55Z")

</div>

Zine v0.14.0 Some bug fixes and a few minor features. Array.join to create a string out of arrays of strings / numbers. --url-path-prefix CLI flag to override the corresponding config value. Syntax highlighting for con…

---

## [\[meta\] Mark question as resolved?](https://zine.discourse.group/t/meta-mark-question-as-resolved/51)

<div class="topic-metadata">

**Author:** [@eamonburns](https://zine.discourse.group/u/eamonburns)\
**Replies:** 4\
**Last updated:** [August 19, 2026, 10:15pm UTC](https://zine.discourse.group/t/meta-mark-question-as-resolved/51 "2026-08-19T22:15:47Z")

</div>

I have seen in other Discourse groups the ability to mark a reply as the best answer, and mark the topic as resolved. Is it possible to add that ability here? After some searching, it looks like there is this plugin: D…

---

## [Proposal: Improved CLI watcher diagnostics](https://zine.discourse.group/t/proposal-improved-cli-watcher-diagnostics/58)

<div class="topic-metadata">

**Author:** [@mattnite](https://zine.discourse.group/u/mattnite)\
**Replies:** 0\
**Last updated:** [August 19, 2026, 7:21pm UTC](https://zine.discourse.group/t/proposal-improved-cli-watcher-diagnostics/58 "2026-08-19T19:21:34Z")

</div>

When I’m running zine live and I’m working on my site, I would like errors that are fixed to disappear. I’ll be editing my site, and look over at zine, and I can’t remember if I’ve broken something or it’s all fine. For …

---

## [✅ SOLVED: Multilingual site: How to get the current locale of the site?](https://zine.discourse.group/t/solved-multilingual-site-how-to-get-the-current-locale-of-the-site/54)

<div class="topic-metadata">

**Author:** [@gb-syn](https://zine.discourse.group/u/gb-syn)\
**Replies:** 2\
**Last updated:** [August 19, 2026, 1:13pm UTC](https://zine.discourse.group/t/solved-multilingual-site-how-to-get-the-current-locale-of-the-site/54 "2026-08-19T13:13:08Z")

</div>

Hi again! I’m working on a bilingual website. The structure is as follows content/ en-US/ index.smd fr-FR/ index.smd In my navigation bar, I would like a button that toggles between the two languages (When…

---

## [✅ SOLVED: Adding a custom 404 page](https://zine.discourse.group/t/solved-adding-a-custom-404-page/50)

<div class="topic-metadata">

**Author:** [@gb-syn](https://zine.discourse.group/u/gb-syn)\
**Replies:** 5\
**Last updated:** [August 17, 2026, 8:12pm UTC](https://zine.discourse.group/t/solved-adding-a-custom-404-page/50 "2026-08-17T20:12:20Z")

</div>

Sorry if the question is naive. I’m trying to add a 404 page. Of course, if I create a 404.smd file, the publish function will create a 404/index.html page. I don’t think my static server will recognize this. Is there …

---

## [Skipping heading level 1](https://zine.discourse.group/t/skipping-heading-level-1/48)

<div class="topic-metadata">

**Author:** [@gb-syn](https://zine.discourse.group/u/gb-syn)\
**Replies:** 2\
**Last updated:** [August 17, 2026, 4:18pm UTC](https://zine.discourse.group/t/skipping-heading-level-1/48 "2026-08-17T16:18:56Z")

</div>

Hi! I want every blog post on my website to automatically include The page name The date Therefore, in my template, I have \<main id="main" class="post"\> \<header class="post-header"\> \<h1 :text="$page.title"\>\</h1\> …

---

## [Access page variables from javascript](https://zine.discourse.group/t/access-page-variables-from-javascript/47)

<div class="topic-metadata">

**Author:** [@eamonburns](https://zine.discourse.group/u/eamonburns)\
**Replies:** 3\
**Last updated:** [August 14, 2026, 8:27pm UTC](https://zine.discourse.group/t/access-page-variables-from-javascript/47 "2026-08-14T20:27:39Z")

</div>

Is there a way to access site-wide (or page) variables from Javascript? I would like to create a redirect.shtml template. It currently looks something like this: \<extend template="base.shtml"\> \<head id="head"\> \<met…

---

## [How can we iterate over slice in metadata into HTML attribute value?](https://zine.discourse.group/t/how-can-we-iterate-over-slice-in-metadata-into-html-attribute-value/44)

<div class="topic-metadata">

**Author:** [@alectronic](https://zine.discourse.group/u/alectronic)\
**Replies:** 3\
**Last updated:** [August 12, 2026, 11:03pm UTC](https://zine.discourse.group/t/how-can-we-iterate-over-slice-in-metadata-into-html-attribute-value/44 "2026-08-12T23:03:35Z")

</div>

I would like to iterate over tags, delimit them with commas and insert them into the value of a HTML attribute. \<meta name="keywords" content="keyword1, keyword2, keyword3"\> I tried reading through the docs and test bu…

---

## [shtml page custom](https://zine.discourse.group/t/shtml-page-custom/46)

<div class="topic-metadata">

**Author:** [@lcp5y3](https://zine.discourse.group/u/lcp5y3)\
**Replies:** 2\
**Last updated:** [August 12, 2026, 2:47pm UTC](https://zine.discourse.group/t/shtml-page-custom/46 "2026-08-12T14:47:15Z")

</div>

Hi everyone, I’m trying to upgrade my website from zine 0.11 to 0.13 and I’ve got trouble with page custom member. In my smd file I’ve got: --- .title = "Projet", .date = .date("1990-01-01T00:00:00"), .layout = "blog.…

---

## [How to link to static site asset in SuperMD file?](https://zine.discourse.group/t/how-to-link-to-static-site-asset-in-supermd-file/45)

<div class="topic-metadata">

**Author:** [@nullndvoid](https://zine.discourse.group/u/nullndvoid)\
**Replies:** 2\
**Last updated:** [August 12, 2026, 2:05pm UTC](https://zine.discourse.group/t/how-to-link-to-static-site-asset-in-supermd-file/45 "2026-08-12T14:05:18Z")

</div>

content/index.smd:17:19: \[scripty\] field not found | See my updated CV \[here\]($site.asset('CV.pdf').link()). | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I am getting this error on build. What’s up? Th…

---

## [\[Feature Request\] Copy Option for Code Blocks](https://zine.discourse.group/t/feature-request-copy-option-for-code-blocks/43)

<div class="topic-metadata">

**Author:** [@I\_playthefrench](https://zine.discourse.group/u/I_playthefrench)\
**Replies:** 2\
**Last updated:** [August 11, 2026, 2:15pm UTC](https://zine.discourse.group/t/feature-request-copy-option-for-code-blocks/43 "2026-08-11T14:15:39Z")

</div>

It would be a huge help, if somehow code blocks had a copy at the top, I can probably do this in JS, except I wouldn’t know how to get the code block content I am copying. Can somebody show me a way, or outright implemen…

---

## [Hackspace conference page](https://zine.discourse.group/t/hackspace-conference-page/42)

<div class="topic-metadata">

**Author:** [@maschinenstuermer](https://zine.discourse.group/u/maschinenstuermer)\
**Replies:** 0\
**Last updated:** [August 3, 2026, 6:22am UTC](https://zine.discourse.group/t/hackspace-conference-page/42 "2026-08-03T06:22:23Z")

</div>

Yesterday I released a Zine static page for a CCC-Erfa\[1\] conference where I am the organizer: hackumenta.de (atm only in German) See hackumenta.de code I have replaced the default Devlog with a logbook for updates on…

---

## [Custom img attributes (not classes) & links](https://zine.discourse.group/t/custom-img-attributes-not-classes-links/38)

<div class="topic-metadata">

**Author:** [@maschinenstuermer](https://zine.discourse.group/u/maschinenstuermer)\
**Replies:** 4\
**Last updated:** [July 28, 2026, 6:33pm UTC](https://zine.discourse.group/t/custom-img-attributes-not-classes-links/38 "2026-07-28T18:33:45Z")

</div>

I am a little confused by the .attrs function of anydirective. I tried using the function to add HTML5 lazy loading to my image by setting .attrs("loading", "lazy") but it just adds classes to the image. Is there anothe…

---

## [Wrap Display (block) Math in a div?](https://zine.discourse.group/t/wrap-display-block-math-in-a-div/41)

<div class="topic-metadata">

**Author:** [@alonzo-zip](https://zine.discourse.group/u/alonzo-zip)\
**Replies:** 1\
**Last updated:** [July 28, 2026, 6:15pm UTC](https://zine.discourse.group/t/wrap-display-block-math-in-a-div/41 "2026-07-28T18:15:24Z")

</div>

The skinny of the problem I’m trying to solve is that some of my larger display math blocks, e.g. in this post Robbie Lyman are too wide on mobile, causing the entire page to have a left-right scroll. The solution I wou…

---

## [:supermd as logical attribute](https://zine.discourse.group/t/supermd-as-logical-attribute/37)

<div class="topic-metadata">

**Author:** [@maschinenstuermer](https://zine.discourse.group/u/maschinenstuermer)\
**Replies:** 2\
**Last updated:** [July 27, 2026, 5:43pm UTC](https://zine.discourse.group/t/supermd-as-logical-attribute/37 "2026-07-27T17:43:57Z")

</div>

To place a ToC always after a posts introduction, I added three \<section\> elements into my post template holding the introduction, the ToC and then the rest of the post. As the rest of my post, my existing hugo introduc…

---

## [Table of Contents situation](https://zine.discourse.group/t/table-of-contents-situation/25)

<div class="topic-metadata">

**Author:** [@kristoff](https://zine.discourse.group/u/kristoff)\
**Replies:** 5\
**Last updated:** [July 24, 2026, 6:50pm UTC](https://zine.discourse.group/t/table-of-contents-situation/25 "2026-07-24T18:50:47Z")

</div>

Since some people have been commenting on the table of contents situation, this is a thread to explain my plans for upcoming changes. The status quo is that the ToC is fine except when the page has headings that skip le…

[Next page](https://zine.discourse.group/latest.md?page=1)
