We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can we move this part to another file?
app.site_vars.update({ "SITE_TITLE":"{{cookiecutter.SITE_TITLE}}", "SITE_URL":"{{cookiecutter.SITE_URL}}", "OWNER":{ "name": "{{cookiecutter.author_name}}", "email": "{{cookiecutter.author_email}}", }, "NAVIGATION":[ { "name": "Home", "url": "/", }, {% if not cookiecutter.skip_collection %} { "name": "Collection Page", "url": "/example-page.html", }, {% endif %} {% if not cookiecutter.skip_blog %} { "name": "Blog", "url": "/blog/blog.html", }, {% endif %} ] })
Either make it config.py or .env file and read from it. It's making the app.py big while it's not really related to Python code.
The text was updated successfully, but these errors were encountered:
I definitely see it being possible and then using {% include "site_vars.html" %} to reference it
{% include "site_vars.html" %}
Sorry, something went wrong.
Move site_vars to templates/site_vars.html
5600684
Closes render-engine#13
Successfully merging a pull request may close this issue.
Can we move this part to another file?
Either make it config.py or .env file and read from it. It's making the app.py big while it's not really related to Python code.
The text was updated successfully, but these errors were encountered: