better titles

This commit is contained in:
Kenneth Reitz
2013-01-26 13:24:29 -05:00
parent 8f1780a587
commit b56c3af014
4 changed files with 16 additions and 2 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
<html lang="en-US"><head>
<title>Obtvse Demo</title>
<title>Admin Edit</title>
<link href="/static/admin.css" media="screen" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Lato:300,900" rel="stylesheet" type="text/css">
<style type="text/css"></style></head>
@@ -8,7 +8,7 @@
<div id="admin">
<div id="save"></div>
<form accept-charset="UTF-8" action="" class="edit_post" id="edit_post_2" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓"><input name="_method" type="hidden" value="put"><input name="authenticity_token" type="hidden" value="Ggm+AaGmTH7SUY/nCOgDsKl3LaVfqnYgh1CgdpopS/w="></div>
<form accept-charset="UTF-8" action="" class="edit_post" id="edit_post_2" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓"><input name="_method" type="hidden" value="put"><
<div id="split">
<div id="post-editor" class="split-section">
+6
View File
@@ -1,5 +1,11 @@
{% extends "base.html" %}
{% block title %}
kennethreitz.org
{% endblock %}
{% block heading %}
<h1>Hi, there.</h1>
+4
View File
@@ -1,5 +1,9 @@
{% extends "base.html" %}
{% block title %}
{{ view|title }}{% if filter %} of {{ filter|title }}{% endif %} — kennethreitz.org
{% endblock %}
{% block heading %}
<h1>{{ view|title }}{% if filter %} of {{ filter|title }}{% endif %}
</h1>
+4
View File
@@ -1,5 +1,9 @@
{% extends "base.html" %}
{% block title %}
{{ page.title }} — kennethreitz.org
{% endblock %}
{% block heading %}
<h1>{{ page.title }}</h1>
{% endblock %}