Closed sandman closed 1 year ago
Hi! Thanks for your kind comments. I'm glad you enjoy the theme.
To remove multilingual support, two things are needed:
*.es.*
and *.ca.*
files, including the various _index
files.config.toml
. I just did this with a fresh clone of the theme, and I couldn't reproduce the error you shared. Can you verify you removed all files/config lines? Are you still having the issue?
For your modification, that's one way to do it, certainly! If you're sure you'll never want to use the previous template, your method works. You could also create a new template, and use it on your _index.md
by modifying the template =
line (see the docs). Either way works.
Building this theme was my first approach to the world of SSGs/Rust/Zola. Keep in mind the templates aren't actually written in Rust, but rather in the Tera template engine, which is very similar to Jinja2, Liquid and Twig.
I built this theme by cloning another one (shadharon) and slowly changing stuff to my liking. It wasn't easy at first, but it does get easier the more time you spend with it. I'd suggest three things:
Have fun!
Many thanks for taking the time to write such a clear and complete response @welpo !
I will experiment with Tera and customise/create new templates to extend tabi. Are you open to receiving Pull Requests?
I just read the Contributing Guidelines, no need to respond to my question :)
First of all, thank you for this very nice and clean theme :+1:
I am trying to customise the theme in two ways:
Is this the best way to achieve what I want?
More generally, I would like to know how to go about customising tabi. I'm quite new to Rust and SSGs but looking to get my hands dirty. Thanks :pray: