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

[include_code] Hardcodes content as content path #5

Open
mirekdlugosz opened this issue Feb 7, 2021 · 0 comments
Open

[include_code] Hardcodes content as content path #5

mirekdlugosz opened this issue Feb 7, 2021 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@mirekdlugosz
Copy link
Collaborator

pelican/plugins/liquid_tags/include_code.py line 100 refers to content directory, assuming it is name of main directory where Pelican will look for content. It should use PATH variable from Pelican settings. However, tags don't have access to all Pelican settings.

A solution should be found, so tag works with path as specified in pelicanconf.py, and not only default Pelican content path.

@mirekdlugosz mirekdlugosz added bug Something isn't working help wanted Extra attention is needed labels Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant