瀏覽代碼

Added microformats to /wards and /about

tags/last-sinatra-version
Adrian Short 14 年之前
父節點
當前提交
c2bd57bfbf
共有 2 個文件被更改,包括 9 次插入9 次删除
  1. +3
    -3
      views/about.haml
  2. +6
    -6
      views/wards.haml

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

@@ -1,12 +1,12 @@
.grid_9
%h1= @page_title = "About this website"
%p
%p.vcard
This website was designed and written by
%a{ :href => 'http://adrianshort.co.uk' } Adrian Short
%a.fn.url{ :href => 'http://adrianshort.co.uk' } Adrian Short
\.
You can contact me by email at
%a{ :href => "mailto:adrian.short@gmail.com" } adrian.short@gmail.com
%a.email{ :href => "mailto:adrian.short@gmail.com" } adrian.short@gmail.com
and
%a{ :href => "http://twitter.com/adrianshort" } follow me on Twitter
\.


+ 6
- 6
views/wards.haml 查看文件

@@ -42,12 +42,12 @@

.grid_6
- for candidate in @parly_candidates
%p
%span.candidate_name
%p.vcard
%span.candidate_name.fn
= candidate.forenames.split(' ')[0]
= candidate.surname
%br
%span.candidate_party
%span.candidate_party.org
= candidate.party.name
%p.highlight
@@ -59,10 +59,10 @@

.grid_6
- for candidate in @council_candidates
%p
%span.candidate_name
%p.vcard
%span.candidate_name.fn
= candidate.forenames.split(' ')[0]
= candidate.surname
%br
%span.candidate_party
%span.candidate_party.org
= candidate.party.name

Loading…
取消
儲存