Quellcode durchsuchen

Added microformats to /wards and /about

tags/last-sinatra-version
Adrian Short vor 14 Jahren
Ursprung
Commit
c2bd57bfbf
2 geänderte Dateien mit 9 neuen und 9 gelöschten Zeilen
  1. +3
    -3
      views/about.haml
  2. +6
    -6
      views/wards.haml

+ 3
- 3
views/about.haml Datei anzeigen

@@ -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 Datei anzeigen

@@ -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

Laden…
Abbrechen
Speichern