Ancestors

Toot

Written by Steven Rosenberg on 2025-01-28 at 20:21

I don't want to say most of the Zola themes haven't updated their code so RSS feeds work. I will just leave it at "many."

I found the problem and (sort of) the solution, but I am at odds as to how to fix it myself.

I tried to fix one theme per this Github issue but it didn't work. I'm just a new Zola user -- I haven't seen enough templates just yet.

https://github.com/getzola/zola/issues/2534

[#]zola #rust #rustlang #ssg #blogging

=> More informations about this toot | More toots from passthejoe@ruby.social

Descendants

Written by Steven Rosenberg on 2025-01-28 at 20:24

Here's what I'm looking for in a Zola theme:

=> More informations about this toot | More toots from passthejoe@ruby.social

Written by Steven Rosenberg on 2025-01-29 at 03:15

I'm going with Hook for now. I already figured out how to get the author's name with posts. I think I can figure out the RSS issues.

https://www.getzola.org/themes/hook/

=> More informations about this toot | More toots from passthejoe@ruby.social

Written by Anisse on 2025-01-28 at 21:36

@passthejoe why would themes even touch the RSS templates? They seem to be built-in: https://www.getzola.org/documentation/templates/overview/#built-in-templates

Disclaimer: I have never used Zola.

=> More informations about this toot | More toots from Aissen@treehouse.systems

Written by Anisse on 2025-01-28 at 21:38

@passthejoe I looked at the bug report, and it looks like the content is customized if served in a feed ?

=> More informations about this toot | More toots from Aissen@treehouse.systems

Written by Anisse on 2025-01-28 at 21:42

@passthejoe oh I understand the issue now… https://github.com/Jieiku/abridge/commit/7ca3ed028dd5169a72f5711246db8484871956b3

Indeed if the theme is configurable (with/without feeds), that's quite the breakage.

=> More informations about this toot | More toots from Aissen@treehouse.systems

Written by Steven Rosenberg on 2025-01-29 at 01:32

@Aissen I'm going to work on this.

Today I figured out how to add an author name to a post.

I got the code from another theme and modified it so it worked in the zola-hook theme -- and I did it in the site's template directory instead of modifying the theme directory — a great Zola feature.

=> More informations about this toot | More toots from passthejoe@ruby.social

Written by Steven Rosenberg on 2025-01-29 at 02:02

@Aissen This is what I'm talking about:

You can override built-in or theme templates by creating a template with the same name in the correct path.

https://www.getzola.org/documentation/templates/overview/#built-in-templates

=> More informations about this toot | More toots from passthejoe@ruby.social

Written by Steven Rosenberg on 2025-02-03 at 03:13

@Aissen

This is how I fixed my theme so the RSS could flow:

https://ruby.social/@passthejoe/113923704523636854

=> More informations about this toot | More toots from passthejoe@ruby.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113907840200432645
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
298.873293 milliseconds
Gemini-to-HTML Time
1.80409 milliseconds

This content has been proxied by September (3851b).