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)
- list_posts should show draft status HOT 1
- Regression in RSS feed styles HOT 1
- How to contribute back from a fork HOT 2
- Nested lists have too much whitespace between items HOT 5
- Isso moderation comments have broken links when `page_id_is_slug = true` HOT 1
- Incorrect handling of external URLs in `footer_menu` HOT 4
- Keep copyright translations in config.toml HOT 9
- Apply XML styling to the sitemap
- Comply with the default_theme value for the first load of the website (when theme_switcher = true) HOT 2
- Hrefs at the start of new lines highlight in incorrect places HOT 2
- Is it possible to center-align text? HOT 2
- Default taxonomies HOT 6
- Compact tags option HOT 5
- TailwindCSS vs Plain CSS HOT 3
- Enable discussion page HOT 1
- Support Webmentions for comments HOT 1
- tag list date not localized HOT 1
- previos and next link in page HOT 2
- How to archived more than one directory in content? HOT 4
- Previous/next nav hans inconsistent width HOT 1
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.