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
_footer.html
To add custom content to the default Datasette _footer.html template:
templates/_footer.html:
templates/_footer.html
{% extends "default:_footer.html" %} {% block footer_content %} <div> <a href="/terms-conditions">Terms and Conditions</a> <a href="/privacy-policy">Privacy Policy</a> </div> {{ super() }} {% endblock %}
Start Datasette with: datasette --template-dir templates/
datasette --template-dir templates/
The text was updated successfully, but these errors were encountered:
Wrap _footer.html content in a Jinja block so it can be easily exte…
9c86214
…nded and included in a custom _footer template. Fixes simonw#2410
Successfully merging a pull request may close this issue.
To add custom content to the default Datasette
_footer.html
template:templates/_footer.html
:Start Datasette with:
datasette --template-dir templates/
The text was updated successfully, but these errors were encountered: