Comments (11)
@Keats yes, it happens on zola serve
only, zola build
works fine. I didn't find where the difference comes from.
from even.
Sorry, I realize this is a different theme. I thought this was zola. I will try with this theme to see if it is the theme or config. The error message looks identical
Edit: Yup, same error with even theme
I think you may be filling in taxonomy in config.toml below [markdown]
.
I was having trouble with the same error, but when I changed where I filled it in, that error did not occur.
from even.
Wouldn't you know it. I copied the config.toml
from the theme, which had it in the [markdown]
block. I just checked the config.toml
in this repo, and works a charm. Thank you so much!
from even.
After playing with it a bit it seems that this error comes up when the reloading server is running and I change a tag in the post metadata to something new. The issue is probably with zola.
from even.
That's caused by the page.html
template.
It can be reproduced within even
.
zola serve
- edit
content/first_post.md
and change a tag to another, non-existing tag (e.g.tag1
->tag2
) - the serve log shows:
Change detected @ 2019-05-08 23:47:37
-> Content changed /Users/jhereth/repos/even/content/first_post.md
Failed to build the site
Error: Failed to render page '/Users/jhereth/repos/even/content/first_post.md'
Reason: Failed to render 'page.html'
Reason: `get_taxonomy_url`: couldn't find `tag2` in `tags` taxonomy
Done in 11ms.
The error message comes from page.html
, L48 - the renderer needes the urls for all tags of the page - but the new tag is not yet known.
The error seems similar to zola's #319 but also happens on non-draft pages.
Not sure if this can be fixed within the theme.
from even.
So it looks like the issue is that on reload, the templates are re-rendered without recreating the get_taxonomy function first? If so that is definitely a bug in Zola
from even.
I am getting it both with server and build. Using anpu theme.
from even.
which version of zola?
from even.
0.14.1
from even.
Sorry, I realize this is a different theme. I thought this was zola. I will try with this theme to see if it is the theme or config. The error message looks identical
Edit: Yup, same error with even theme
from even.
I've run in to this issue too.
Error: Reason: `get_taxonomy_term_by_name` received an unknown taxonomy as kind: project
I get this error with this code:
get_taxonomy_term(kind="project", term="foo")
However this works:
get_taxonomy(kind="project")
I don't have the [markdown]
config.toml issue mentioned above
from even.
Related Issues (19)
- Make it responsive
- No default template for sections HOT 6
- Causes collateral rick rolls HOT 1
- Categories page not rendered if no categories used in posts HOT 5
- Example `cat_demo_img.jpg` is copied on website HOT 1
- Add page_after_footer block
- Draft pages break build HOT 2
- Latex, Katex support HOT 4
- Variable `paginator.pages` breaks build HOT 4
- singular vs. plural taxonomies HOT 1
- Need help replacing remote script in index.html with a local script HOT 3
- words overflow HOT 6
- Even renders badly on Windows
- Allow customization of inline code color HOT 1
- Code blocks background isn't changing with `highlight_theme` HOT 1
- Footer navigation links to previous and next posts not showing up HOT 2
- Error messages could be improved HOT 1
- On mobile, the title logo doesn't link to `base_url`
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 even.