Browse files

page titles, just for blech

  • Loading branch information...
1 parent 79bfd58 commit 7fcfd90e5f10a10dfbf712d3b758c4f32cbc6409 @iamcal iamcal committed Jul 22, 2011
View
2 templates/inc_head.txt
@@ -1,7 +1,7 @@
{utf8_headers}<!DOCTYPE html>
<html>
<head>
- <title>{$page_title|default:'Glitch Mash'}</title>
+ <title>{if $title}{$title} | {/if}Glitch Mash</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" media="all" href="/css/main.css" />
{$extra_head}
View
1 templates/page_avatar.txt
@@ -1,3 +1,4 @@
+{capture assign='title'}{$avatar.player.name|escape}{/capture}
{include file='inc_head.txt'}
<h1>{$avatar.player.name|escape}</h1>
View
2 templates/page_checkcookie.txt
@@ -1,4 +1,4 @@
-{include file="inc_head.txt"}
+{include file="inc_head.txt" title="Cookie problem"}
There is a problem with your cookies. Bah.
View
2 templates/page_error_403.txt
@@ -1,4 +1,4 @@
-{"HTTP/1.1 403 Forbidden"|header}{include file='inc_head.txt' page_title='Permission Denied'}
+{"HTTP/1.1 403 Forbidden"|header}{include file='inc_head.txt' title='Permission Denied'}
<h1>Page not available</h1>
View
2 templates/page_error_404.txt
@@ -1,4 +1,4 @@
-{"HTTP/1.1 404 Not Found"|header}{include file='inc_head.txt' page_title='Page Not Found'}
+{"HTTP/1.1 404 Not Found"|header}{include file='inc_head.txt' title='Page Not Found'}
<h1>Page not found</h1>
View
2 templates/page_error_misc.txt
@@ -1,4 +1,4 @@
-{include file='inc_head.txt' page_title='Error'}
+{include file='inc_head.txt' title='Error'}
<h1>Error</h1>
View
2 templates/page_index.txt
@@ -1,4 +1,4 @@
-{include file='inc_head.txt'}
+{include file='inc_head.txt' title="Vote!"}
{if $voted}
<div style="border-bottom: 1px solid #eee; margin: 0 0 1em 0; padding-top: 1em;">
View
2 templates/page_top.txt
@@ -1,4 +1,4 @@
-{include file='inc_head.txt'}
+{include file='inc_head.txt' title="Top Outfits"}
<h1>Current Top Outfits</h1>
View
2 templates/page_you.txt
@@ -1,4 +1,4 @@
-{include file='inc_head.txt'}
+{include file='inc_head.txt' title="Your Outfits"}
<h1>Your Outfits</h1>

0 comments on commit 7fcfd90

Please sign in to comment.