From 85e452490eacf10f32f380f3b15299bfbb1b3d7b Mon Sep 17 00:00:00 2001 From: rscnt Date: Tue, 16 Jun 2015 00:25:21 -0600 Subject: [PATCH] templates: Added blog article title to Closes #1628. Signed-off-by: rscnt <rascnt@gmail.com> --- templates/cms/ungleich.ch/base.html | 6 +++++- templates/djangocms_blog/post_detail.html | 3 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/templates/cms/ungleich.ch/base.html b/templates/cms/ungleich.ch/base.html index 021563f0..a9efde66 100644 --- a/templates/cms/ungleich.ch/base.html +++ b/templates/cms/ungleich.ch/base.html @@ -2,7 +2,11 @@ <!doctype html> <html> <head> - <title>{% page_attribute "page_title" %} + + {% block title %} + {% page_attribute "page_title" %} + {% endblock %} + {% addtoblock "external-css" %} {% bootstrap_css %} diff --git a/templates/djangocms_blog/post_detail.html b/templates/djangocms_blog/post_detail.html index e917bd36..62216d0f 100644 --- a/templates/djangocms_blog/post_detail.html +++ b/templates/djangocms_blog/post_detail.html @@ -1,11 +1,10 @@ {% extends "djangocms_blog/base.html" %} {% load i18n thumbnail cms_tags %} {% load url from future %} - {% block meta_description %}{{ post.meta_description }}{% endblock meta_description %} {% block meta_keywords %}{{ post.meta_keywords }}{% endblock meta_keywords %} {% block canonical_url %}{% endblock canonical_url %} -{% block title %}{{ post.get_title }}{% endblock %} +{% block title %}{% page_attribute "page_title" %} - {{ post.get_title }}{% endblock %} {% block base_header %} {% include "djangocms_blog/_header_post_detail.html" %}