Skip to content

Commit

Permalink
Better microdata.
Browse files Browse the repository at this point in the history
Signed-off-by: François de Metz <francois@stormz.me>
  • Loading branch information
francois2metz committed Apr 17, 2012
1 parent 5a5c997 commit d4092c6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions layouts/default.haml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,20 @@
%body
.container
%header.vevent
%header{itemscope:'', itemtype:'http://schema.org/Event'}
%h1
%a{href:'/'}
%img{src: "/images/cocococamp_logo.png", alt: "CCCC"}
%h4.subheader.summary
Un événement sur la co-création, la co-conception, la co-?
%h4.subheader
%meta{itemprop: 'name', content: site_name}
%meta{itemprop: 'url', content: 'http://cocococamp.com/'}
%meta{itemprop: 'startDate', content:'2012-05-04'}
%span{itemprop: 'description'} Un événement sur la co-création, la co-conception, la co-?
le
%abbr.dtstart{title:'2012-05-04'} 4 mai
%abbr{title:'2012-05-04'} 4 mai
à
%span.location Paris.
%span{itemprop: 'location'} Paris.
%hr
= yield
Expand Down
2 changes: 1 addition & 1 deletion lib/default.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# All files in the 'lib' directory will be loaded
# before nanoc starts compiling.
def site_name
"CoCoCoCamp"
"CococoCamp"
end

0 comments on commit d4092c6

Please sign in to comment.