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

error while rendering macro post_macros::page_in_list #9

Open
cjfloss opened this issue Sep 23, 2018 · 1 comment
Open

error while rendering macro post_macros::page_in_list #9

cjfloss opened this issue Sep 23, 2018 · 1 comment

Comments

@cjfloss
Copy link

cjfloss commented Sep 23, 2018

Steps

  • gutenberg init site
  • git clone https://github.com/Keats/after-dark site/themes
  • EDIT the config.toml as in README
  • COPY site/themes/after-dark/content/* TO site/content
  • gutenberg serve
Building site...
-> Creating 2 pages (0 orphan), 0 sections, and processing 0 images
Error: Failed to render pager 1
Reason: Failed to render 'after-dark/templates/index.html': error while rendering macro `post_macros::page_in_list`
Reason: Macro namespace `self` was not found in template `after-dark/templates/index.html`. Have you maybe forgotten to import it, or misspelled it?

OS: Arch Linux, installed from AUR

@Keats
Copy link
Collaborator

Keats commented Sep 24, 2018

0.4.2 has some issues with macros, stick with 0.4.1 for now while waiting for the next release

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

2 participants