Allow the page titles to be edited by other parts of the app.
authorDan Karran <dan@karran.net>
Sat, 9 Jun 2007 20:47:37 +0000 (20:47 +0000)
committerDan Karran <dan@karran.net>
Sat, 9 Jun 2007 20:47:37 +0000 (20:47 +0000)
app/views/layouts/site.rhtml

index c9a70b79e83d020bbc9b42185f2533ca19992187..fb0bc57eb140d3668565bad6f93fa2c5ebf3f14d 100644 (file)
@@ -7,7 +7,7 @@
     <%= javascript_include_tag 'site.js' %>
 
     <link rel="stylesheet" type="text/css" href="/stylesheets/site.css" />
-    <title>OpenStreetMap</title>
+    <title>OpenStreetMap<%= ' | '+@title if @title %></title>
   </head>
   <body>