Sha256: d9c03d4bd46d91f6de6bf4010ca6fc440a1350d140626ef7051382ff4cc4b14b
Contents?: true
Size: 645 Bytes
Versions: 1
Compression:
Stored size: 645 Bytes
Contents
.paginate - item.posts.each do |post| .item .content= post.body .meta %time{datetime: post.date.strftime("%FT%T%:z"), itemprop: "pubdate", data: {updated: true}} = link_to I18n.l(post.date, format: "%a %d %b %Y", locale: locale), post.url %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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alula-themes-0.4.8 | themes/focused/views/paginate.html.haml |