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
We allow for a field to override another, such as this:
page.html:
{% extends "site_layout.html" %} {% block meta_title %}{{ this.meta_title or this.title }}{% endblock %}
site_layout.html:
<title>{% block title %}title{% endblock %}</title> <meta name="title" content="{% block meta_title %}{% endblock %}"/>
A fatal exception is raised if lektor-jinja-content is enabled and the meta_title or title is not defined in a contents.lr file.
contents.lr
valid:
title: sample title --- meta_title: sample meta_title
invalid:
title: sample title
I am working on a PR
The text was updated successfully, but these errors were encountered:
potential fix for issue terminal-labs#13
b481b43
No branches or pull requests
We allow for a field to override another, such as this:
page.html:
site_layout.html:
A fatal exception is raised if lektor-jinja-content is enabled and the meta_title or title is not defined in a
contents.lr
file.valid:
invalid:
I am working on a PR
The text was updated successfully, but these errors were encountered: