Sha256: 9270a4adf0287a86d06c3edb58590f5f3d742bed4a89a9886af680e1defa7387

Contents?: true

Size: 114 Bytes

Versions: 6

Compression:

Stored size: 114 Bytes

Contents

def blog_posts
  siblings
    .select { |p| p.data["date"] }
    .sort_by { |p| p.data["date"] }
    .reverse
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
flutterby-0.2.0 lib/templates/new_project/site/blog/_view.rb
flutterby-0.1.0 lib/templates/new_project/site/blog/_view.rb
flutterby-0.0.25 lib/templates/new_project/site/blog/_view.rb
flutterby-0.0.24 lib/templates/new_project/site/blog/_view.rb
flutterby-0.0.23 lib/templates/new_project/site/blog/_view.rb
flutterby-0.0.22 lib/templates/new_project/site/blog/_view.rb