diff options
author | elijah <elijah@riseup.net> | 2015-02-18 23:44:14 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2015-02-18 23:44:14 -0800 |
commit | e53e113dcde3e3686095c3661307efccc5c7e64e (patch) | |
tree | 2d5219d73587750ec478811c65499325a95a04db /amber/layouts/_titlebox.html.haml |
initial conversation from leap_doc and leap_website
Diffstat (limited to 'amber/layouts/_titlebox.html.haml')
-rw-r--r-- | amber/layouts/_titlebox.html.haml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/amber/layouts/_titlebox.html.haml b/amber/layouts/_titlebox.html.haml new file mode 100644 index 0000000..beef995 --- /dev/null +++ b/amber/layouts/_titlebox.html.haml @@ -0,0 +1,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
\ No newline at end of file |