<%include file="/base/flash_msg.html"/>
diff --git a/kallithea/templates/password_reset.html b/kallithea/templates/password_reset.html
--- a/kallithea/templates/password_reset.html
+++ b/kallithea/templates/password_reset.html
@@ -1,12 +1,12 @@
## -*- coding: utf-8 -*-
<%inherit file="base/root.html"/>
-<%def name="title()">
+<%block name="title">
${_('Password Reset')}
%if c.site_name:
· ${c.site_name}
%endif
-%def>
+%block>
<%include file="/base/flash_msg.html"/>
diff --git a/kallithea/templates/pullrequests/pullrequest.html b/kallithea/templates/pullrequests/pullrequest.html
--- a/kallithea/templates/pullrequests/pullrequest.html
+++ b/kallithea/templates/pullrequests/pullrequest.html
@@ -1,8 +1,8 @@
<%inherit file="/base/base.html"/>
-<%def name="title()">
+<%block name="title">
${c.repo_name} ${_('New Pull Request')}
-%def>
+%block>
<%def name="breadcrumbs_links()">
${_('New Pull Request')}
diff --git a/kallithea/templates/pullrequests/pullrequest_show.html b/kallithea/templates/pullrequests/pullrequest_show.html
--- a/kallithea/templates/pullrequests/pullrequest_show.html
+++ b/kallithea/templates/pullrequests/pullrequest_show.html
@@ -1,11 +1,11 @@
<%inherit file="/base/base.html"/>
-<%def name="title()">
+<%block name="title">
${_('%s Pull Request #%s') % (c.repo_name, c.pull_request.pull_request_id)}
%if c.site_name:
· ${c.site_name}
%endif
-%def>
+%block>
<%def name="breadcrumbs_links()">
${_('Pull request #%s from %s#%s') % (c.pull_request.pull_request_id, c.pull_request.org_repo.repo_name, c.cs_branch_name)}
diff --git a/kallithea/templates/pullrequests/pullrequest_show_all.html b/kallithea/templates/pullrequests/pullrequest_show_all.html
--- a/kallithea/templates/pullrequests/pullrequest_show_all.html
+++ b/kallithea/templates/pullrequests/pullrequest_show_all.html
@@ -1,11 +1,11 @@
<%inherit file="/base/base.html"/>
-<%def name="title()">
+<%block name="title">
${_('%s Pull Requests') % c.repo_name}
%if c.site_name:
· ${c.site_name}
%endif
-%def>
+%block>
<%def name="breadcrumbs_links()">
%if c.from_:
diff --git a/kallithea/templates/pullrequests/pullrequest_show_my.html b/kallithea/templates/pullrequests/pullrequest_show_my.html
--- a/kallithea/templates/pullrequests/pullrequest_show_my.html
+++ b/kallithea/templates/pullrequests/pullrequest_show_my.html
@@ -1,8 +1,8 @@
<%inherit file="/base/base.html"/>
-<%def name="title()">
+<%block name="title">
${_('My Pull Requests')} · ${c.site_name}
-%def>
+%block>
<%def name="breadcrumbs_links()">
${_('My Pull Requests')}
diff --git a/kallithea/templates/register.html b/kallithea/templates/register.html
--- a/kallithea/templates/register.html
+++ b/kallithea/templates/register.html
@@ -1,12 +1,12 @@
## -*- coding: utf-8 -*-
<%inherit file="base/root.html"/>
-<%def name="title()">
+<%block name="title">
${_('Sign Up')}
%if c.site_name:
· ${c.site_name}
%endif
-%def>
+%block>
<%include file="/base/flash_msg.html"/>
diff --git a/kallithea/templates/search/search.html b/kallithea/templates/search/search.html
--- a/kallithea/templates/search/search.html
+++ b/kallithea/templates/search/search.html
@@ -1,7 +1,7 @@
## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
-<%def name="title()">
+<%block name="title">
%if c.repo_name:
${_('%s Search') % c.repo_name}
%else:
@@ -10,7 +10,7 @@
%if c.site_name:
· ${c.site_name}
%endif
-%def>
+%block>
<%def name="breadcrumbs_links()">
%if c.repo_name:
diff --git a/kallithea/templates/summary/statistics.html b/kallithea/templates/summary/statistics.html
--- a/kallithea/templates/summary/statistics.html
+++ b/kallithea/templates/summary/statistics.html
@@ -1,11 +1,11 @@
<%inherit file="/base/base.html"/>
-<%def name="title()">
+<%block name="title">
${_('%s Statistics') % c.repo_name}
%if c.site_name:
· ${c.site_name}
%endif
-%def>
+%block>
<%def name="breadcrumbs_links()">
${_('Statistics')}
diff --git a/kallithea/templates/summary/summary.html b/kallithea/templates/summary/summary.html
--- a/kallithea/templates/summary/summary.html
+++ b/kallithea/templates/summary/summary.html
@@ -1,11 +1,11 @@
<%inherit file="/base/base.html"/>
-<%def name="title()">
+<%block name="title">
${_('%s Summary') % c.repo_name}
%if c.site_name:
· ${c.site_name}
%endif
-%def>
+%block>
<%def name="breadcrumbs_links()">
${_('Summary')}
diff --git a/kallithea/templates/tags/tags.html b/kallithea/templates/tags/tags.html
--- a/kallithea/templates/tags/tags.html
+++ b/kallithea/templates/tags/tags.html
@@ -1,12 +1,12 @@
## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
-<%def name="title()">
+<%block name="title">
${_('%s Tags') % c.repo_name}
%if c.site_name:
· ${c.site_name}
%endif
-%def>
+%block>
<%def name="breadcrumbs_links()">