Permalink
Browse files

fixed: home.html and post.html templates did not set the page title.

  • Loading branch information...
1 parent 4abbb8c commit 24b5812c1a661a3ed439588c815dbd20511d10bc @vrypan committed Feb 18, 2012
Showing with 5 additions and 1 deletion.
  1. +1 −1 _themes/bucket3/templates/base.html
  2. +4 −0 _themes/bucket3/templates/post.html
@@ -14,7 +14,7 @@
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- {% block page_title %}<title>{{blog.blog_title}}</title>{% endblock %}
+ {% block page_title %}<title>{{blog.title}}</title>{% endblock %}
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ blog.url }}rss.xml" />
@@ -1,5 +1,9 @@
{% extends "base.html" %}
+{% block page_title %}
+<title>{{ blog.title }} | {{ meta.title}}</title>
+{% endblock page_title %}
+
{% block page_meta %}
<meta name="title" content="{{ blog.title }} | {{ meta.title}}">
<meta name="description" content="{{ body|striptags|truncate|e }}">

0 comments on commit 24b5812

Please sign in to comment.