mirror of
https://github.com/NaN-tic/trytond-nereid_blog.git
synced 2023-12-14 07:42:53 +01:00
Templates. Title Block
This commit is contained in:
parent
6d49957f4a
commit
a8140c91a4
|
@ -2,6 +2,7 @@
|
|||
{% from '_helpers.jinja' import render_pagination with context %}
|
||||
|
||||
{% block head %}<link href="{{ STATIC }}{{ config['TEMPLATE'] }}/css/blog.css" rel="stylesheet" type="text/css">{% endblock %}
|
||||
{% block title %}{{ _('Blog') }}. {{ _('Page') }} {{ posts.page }}{% endblock %}
|
||||
{% block metadescription %}{{ _('Blog') }} - {{ config['TITLE'] }}. {{ _('Page') }} {{ posts.page }}{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
{% from '_helpers.jinja' import render_pagination with context %}
|
||||
|
||||
{% block head %}<link href="{{ STATIC }}{{ config['TEMPLATE'] }}/css/blog.css" rel="stylesheet" type="text/css">{% endblock %}
|
||||
{% block title %}{{ _('Blog') }} - {{ category.title }}. {{ _('Page') }} {{ posts.page }}{% endblock %}
|
||||
{% block metadescription %}{{ _('Blog') }} - {{ category.title }}. {{ _('Page') }} {{ posts.page }}{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
{% from '_helpers.jinja' import render_keywords with context %}
|
||||
|
||||
{% block head %}<link href="{{ STATIC }}{{ config['TEMPLATE'] }}/css/blog.css" rel="stylesheet" type="text/css">{% endblock %}
|
||||
{% block title %}{{ post.title }}{% endblock %}
|
||||
{% block metadescription %}{% if post.metadescription %}{{ post.metadescription }}{% else %}{{ _('Blog')}} {{ post.title }}{% endif %}{% endblock %}
|
||||
{% block metakeywords %}{% if post.metakeywords %}{{ post.metakeywords }}{% endif %}{% endblock %}
|
||||
{% block metatitle %}{% if post.metatitle %}{{ post.metatitle }}{% else %}{{ post.title }}{% endif %}{% endblock %}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
{% from '_helpers.jinja' import render_pagination with context %}
|
||||
|
||||
{% block head %}<link href="{{ STATIC }}{{ config['TEMPLATE'] }}/css/blog.css" rel="stylesheet" type="text/css">{% endblock %}
|
||||
{% block title %}{{ _('Blog') }} - {{ tag }}. {{ _('Page') }} {{ posts.page }}{% endblock %}
|
||||
{% block metadescription %}{{ _('Blog') }} - {{ tag }}. {{ _('Page') }} {{ posts.page }}{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
|
|
Loading…
Reference in a new issue