templates: Added blog article title to <title>
Closes #1628. Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
		
					parent
					
						
							
								46d3c084e7
							
						
					
				
			
			
				commit
				
					
						d335c2bd57
					
				
			
		
					 2 changed files with 6 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -2,7 +2,11 @@
 | 
			
		|||
<!doctype html>
 | 
			
		||||
<html>
 | 
			
		||||
  <head>
 | 
			
		||||
    <title>{% page_attribute "page_title" %}</title>
 | 
			
		||||
    <title>
 | 
			
		||||
      {% block title %}
 | 
			
		||||
      {% page_attribute "page_title" %}
 | 
			
		||||
      {% endblock %}
 | 
			
		||||
    </title>
 | 
			
		||||
    {% addtoblock "external-css" %}
 | 
			
		||||
    {% bootstrap_css %}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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 %}<link rel="canonical" href="{{ SITE.domain }}{{ view.get_view_url }}"/>{% endblock canonical_url %}
 | 
			
		||||
{% block title %}{{ post.get_title }}{% endblock %}
 | 
			
		||||
{% block title %}{% page_attribute "page_title" %} - {{ post.get_title }}{% endblock %}
 | 
			
		||||
<!-- page header -->
 | 
			
		||||
{% block base_header %}
 | 
			
		||||
{% include "djangocms_blog/_header_post_detail.html"  %}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue