Comments (3)
Hi! Thanks for your kind comments. I'm glad you enjoy the theme.
Removing multilingual support
To remove multilingual support, two things are needed:
- Removing all
*.es.*
and*.ca.*
files, including the various_index
files. - Removing or commenting out these lines in
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?
Creating new templates
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.
Customising tabi
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:
- Look around the Tera documentation
- Explore how other themes are built.
- GPT-4 can be quite helpful, though a bit stubborn. You need to remind it Tera is not identical to Jinja, and give it context and, some times, the relevant part of the docs. It can really speed up the initial approach, in my experience.
Have fun!
from tabi.
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?
from tabi.
I just read the Contributing Guidelines, no need to respond to my question :)
from tabi.
Related Issues (20)
- Project on archive page HOT 2
- E-mail icon dissapears when all social icons are off HOT 1
- Add OSM map (Leaflet) to Tabi HOT 4
- Add inline image in text HOT 6
- Turn off (disable or hide) "blog" section on the main page HOT 10
- nani_logo.webp cannot be read HOT 2
- author in page.html HOT 5
- non-css syntax highlighting doesn't work (and is fixed to one theme) HOT 7
- <h2> renders (almost?) the same size as <h1> HOT 3
- Possible performance issues HOT 3
- Show "updated date" instead of creation date HOT 8
- Long build times - what could be the reason? HOT 56
- Footnote backlinks are not working HOT 3
- Add language support for search engine HOT 2
- Feature Request: add Bluesky SVG to social icons HOT 10
- Option for Fediverse (Mastodon) comments? HOT 4
- footer template doesn't handle changed feed config of new 0.19.0 version of Zola HOT 3
- Icons for "info" and "note" admonitions should be the other way around HOT 3
- Feat: make tubi work with Zola 0.19 HOT 6
- Archives template: years ordered descending but posts not ordered at all HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tabi.