I have app-hook for my Django CMS 3.0.3 and looking for right solution to set meta title to my app-hook pages.
Now I'm doing it like so: in my base template:
{% load cms_tags sekizai_tags menu_tags staticfiles %}
<html>
<head>
{% block head %}
<title>{% page_attribute 'page_title' %}</title>
<meta name="description" content="{% page_attribute 'meta_description' %}">
{% endblock head %}
...
In my app-hook templates I overrided this block head
like so:
{% block head %}
<title>{{ title }}</title>
{% endblock head %}
Is it a right solution? Maybe I should somehow change attribute page_title
in my app-hook's views?