Comments (3)
Apparently I didn't look hard enough last time.
We can check config.mode
to see whether it's Zola is in build
, serve
or check
mode.
Sources:
getzola/zola#1646
https://www.getzola.org/documentation/templates/overview/
from tabi.
Should be fixed with #144!
from tabi.
I was aware of this issue and indeed looked for a Zola variable that would let me know whether it was serving or building, but I couldn't find it.
I thought I could create an [extra]
variable in config.toml
for this, but it'd be too cumbersome. I'll check again if there's a way to tell whether Zola is in serve
mode.
Thanks for your report!
from tabi.
Related Issues (20)
- 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
- Feature suggestion: sort-order setting for Tags listing page HOT 6
- Broken "ToC" link HOT 1
- Broken link to localization article HOT 1
- Inconsistent keyboard and mouse navigation for search
- Suggestion: singularize count-per-tag (in Tags listings) to read "1 post" instead of "1 posts" HOT 7
- Hardcoded feed path on header
- OpenGraph tags? HOT 4
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.