Comments (5)
I do think that the order in which pages and templates are created is wrong. The introduction creates the content first, then the template file. So you get:
Error: Failed to build the site
Error: Failed to render section '.../content/blog/_index.md'
Error: Reason: Tried to render `blog.html` but the template wasn't found
While creating the template then is recognized, it only reloads the template, not the content.
Change detected @ 2024-04-29 16:39:14
-> Template changed .../templates/blog-page.html
Reloading only template
Done in 2ms.
If you create the templates first and then the content, it will work without restarting.
from zola.
I am experiencing the exact same issue with Zola 0.18.0 on Windows 10 22H2 running Firefox 122.0.1. I can confirm that killing zola serve
and restarting fixes the issue.
from zola.
Had the same issue with Zola 0.17.2* on Windows 11 23H2 running Firefox 128.0, the whole blog section would not load and gave a 404 until I tried @ulab's fix above.
For anyone else who's struggling to get through the tutorial, try creating all the templates first, then create the sections and pages under the content
directory.
*I installed Zola with winget
, so this must be the version it pulled, which feels a bit odd if the tutorial is meant for 0.17.X
from zola.
We should probably rewrite the getting started page to avoid those issues, anyone wants to take a crack at it?
from zola.
from zola.
Related Issues (20)
- Alternative Content Views (Summary, List, ..., like in Hugo) HOT 3
- Failing zola build with option: "external_links_target_blank = true" HOT 3
- "zola serve" doesn't detect any change HOT 11
- zola serve - automatic firefox refresh leads to `Not Found` HOT 7
- Have root being a page and not a section HOT 1
- Permission denied (os error 13) during build HOT 2
- In the main config, ignored_content has misleading examples and globbing doesn't work as expected HOT 1
- How do I make use of throw? HOT 2
- Unknown field `date` HOT 3
- Unable to generate RSS feed HOT 2
- Zola 0.19.1 broke `get_url` HOT 3
- `page.summary` only works when isolated on a newline. HOT 4
- Zola 0.19 and ViteJs don't go together well? HOT 15
- Two shortcode problems HOT 3
- Broken shortcodes on 0.19 HOT 1
- Breaking changes documentation for v0.19 (generate_feeds, feed_filenames, path..) HOT 2
- How to iterate through the list of top-level sections HOT 3
- Guide to Deploy to Codeberg Pages
- Feature request: load_data for TSV and other non-comma-separated CSV HOT 2
- How create a frontmatter extra object
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 zola.