浏览代码

Added page titles to layout/views

tags/last-sinatra-version
Adrian Short 14 年前
父节点
当前提交
9804c0a60f
共有 4 个文件被更改,包括 5 次插入4 次删除
  1. +1
    -1
      views/about.haml
  2. +1
    -1
      views/election.haml
  3. +2
    -1
      views/layout.haml
  4. +1
    -1
      views/parliament.haml

+ 1
- 1
views/about.haml 查看文件

@@ -1,5 +1,5 @@
.grid_9
%h1 About this website
%h1= @page_title = "About this website"
%p
This website was designed and written by


+ 1
- 1
views/election.haml 查看文件

@@ -1,5 +1,5 @@
.grid_9
%h1 How the council election works
%h1= @page_title = "How the council election works"
%p On 6 May 2010 you get to choose your local councillors and to help to decide who runs Sutton Council.


+ 2
- 1
views/layout.haml 查看文件

@@ -2,7 +2,8 @@
!!!
%html
%head
%title Sutton Elections 6 May 2010
%title
= @page_title ? @page_title + " - Sutton Elections" : "Sutton Elections 6 May 2010"
%link{ :rel => 'stylesheet', :type => 'text/css', :href => '/style.css' }
%link{ :rel => 'stylesheet', :type => 'text/css', :href => '/print.css', :media => 'print' }
%link{ :rel => 'stylesheet', :type => 'text/css', :href => '/grid.css' }


+ 1
- 1
views/parliament.haml 查看文件

@@ -1,6 +1,6 @@
.grid_9

%h1 How the parliament election works
%h1= @page_title = "How the parliament election works"
%p On 6 May 2010 you can vote for your local member of parliament and help to decide who governs the UK.


正在加载...
取消
保存