Skip to content

Commit

Permalink
Removed the section tag wrapper.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Bogan committed Nov 12, 2009
1 parent 69034d6 commit 58a1bba
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions views/interviews/show.haml
@@ -1,13 +1,12 @@
%section{:id => @interview.slug}
%article.overview
%img{:src => "/images/portraits/#{@interview.slug}.jpg", :width => 500, :height => 335, :alt => @interview.person, :class => 'portrait'}
- if @interview.credits
:markdown
#{@interview.credits}
%h2.person= @interview.person
%p.summary= @interview.summary
- if @interview.published_at
%time{:datetime => @interview.published_at.strftime("%Y-%m-%d")}= @interview.published_at.strftime("%b %d, %Y")
%article.contents
%article.overview
%img{:src => "/images/portraits/#{@interview.slug}.jpg", :width => 500, :height => 335, :alt => @interview.person, :class => 'portrait'}
- if @interview.credits
:markdown
#{interview_contents(@interview)}
#{@interview.credits}
%h2.person= @interview.person
%p.summary= @interview.summary
- if @interview.published_at
%time{:datetime => @interview.published_at.strftime("%Y-%m-%d")}= @interview.published_at.strftime("%b %d, %Y")
%article.contents
:markdown
#{@interview.contents_with_links}

0 comments on commit 58a1bba

Please sign in to comment.