Sha256: f8734d909843d1e46c57179b3b6641c63cd0f23059b7893dc7928e4609301f45
Contents?: true
Size: 797 Bytes
Versions: 12
Compression:
Stored size: 797 Bytes
Contents
- item.posts.each do |post| %article{itemscope:true, itemtype:"http://schema.org/BlogPosting"} .post .meta %time{datetime: post.date.strftime("%FT%T%:z"), itemprop: "pubdate", data: {updated: true}} = I18n.l(post.date, format: "%a %d %b %Y", locale: locale) %h1{itemprop:"headline"}= link_to post.title, post.url .articleBody{itemprop:"articleBody"}= post.body .spacer %p.navigation - if item.previous %a{class: "left", title: I18n.t('paginate.older_posts', locale: locale), href: item.previous.url} « #{I18n.t('paginate.older_posts', locale: locale)} - if item.next %a{class: "right", title: I18n.t('paginate.newer_posts', locale: locale), href: item.next.url} #{I18n.t('paginate.newer_posts', locale: locale)} »
Version data entries
12 entries across 12 versions & 1 rubygems