summaryrefslogtreecommitdiff
path: root/amber/layouts/_titlebox.html.haml
blob: beef995dfd8ca533c54ee3911fc96e16ada3656f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- if @page.props.author || @page.props.posted_at
  .byline
    - if @page.props.author
      %span.author>= I18n.t('posted_by') + ' ' + @page.props.author
    - if @page.props.author && @page.props.posted_at
      \.
    - if @page.props.posted_at
      %i
        = time_tag(@page.props.posted_at.to_date, :format => :long, :pubdatwe => true)

- if @page.props.summary
  .summary
    = @page.props.summary
-# elsif page.props.preview
  .summary
    = @page.props.preview