Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable paginator.pages not found in context while rendering 'index.html' #1

Open
spc16670 opened this issue Jul 3, 2022 · 3 comments

Comments

@spc16670
Copy link

spc16670 commented Jul 3, 2022

New project, theme cloned to the themes dir and set in config.

>zola serve
Building site...
Checking all internal links with anchors.
> Successfully checked 0 internal link(s) with anchors.
-> Creating 0 pages (0 orphan) and 0 sections
Error: Failed to render section 'D:\Workspaces\StPauls\stpauls-www\content\_index.md'
Reason: Failed to render 'index.html'
Reason: Variable `paginator.pages` not found in context while rendering 'index.html'

zola 0.15.3

@marcodpt
Copy link
Owner

marcodpt commented Jul 4, 2022

I will take a look and give you a feedback.
If you don't want to wait you can take a look at this repo:

https://github.com/marcodpt/marcodpt.github.io

It is a sample that I use myself.

@dorname
Copy link

dorname commented May 1, 2023

same problem here

@dorname
Copy link

dorname commented May 1, 2023

New project, theme cloned to the themes dir and set in config.

>zola serve
Building site...
Checking all internal links with anchors.
> Successfully checked 0 internal link(s) with anchors.
-> Creating 0 pages (0 orphan) and 0 sections
Error: Failed to render section 'D:\Workspaces\StPauls\stpauls-www\content\_index.md'
Reason: Failed to render 'index.html'
Reason: Variable `paginator.pages` not found in context while rendering 'index.html'

zola 0.15.3

cover all the files from themes/templates including config.toml and content dir.then I solve the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants