Преглед изворни кода

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…
Откажи
Сачувај