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

build fails with this theme #1

Open
netllama opened this issue Oct 16, 2022 · 1 comment
Open

build fails with this theme #1

netllama opened this issue Oct 16, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@netllama
Copy link

I'm trying to take this theme for a test drive, but make html fails with the following error:

[14:15:13] CRITICAL TemplateSyntaxError: Encountered unknown tag 'assets'.      __init__.py:566
                    Jinja was looking for the following tags: 'endblock'. The                  
                    innermost block that needs to be closed is 'block'.

I tried looking at the sample pelicanconf.py, but there's no comments, and a lot of stuff being imported and used. How much of that is required for this theme to work? What's the minimum viable config to get started?

@yinian1992
Copy link
Member

yinian1992 commented Oct 23, 2022

Sorry for missing description of plugins and config items. Some features (e.g. shields.io cache) cannot be implemented directly in the theme, but rather as plugins. The theme is somewhat too deeply coupled to the plugin. The next release will provide flags to control whether to enable these features.

At present, four plugins are required for this theme.

kagamitypes.py in jinkanhq/lab is for type annotation use only and has nothing to do with actual features.

Finally, the error you encountered is due to missing plugin webassets.

@yinian1992 yinian1992 added the documentation Improvements or additions to documentation label Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants