Class: RageRender::PaginatedBlogDrop

Inherits:
Jekyll::Drops::DocumentDrop
  • Object
show all
Extended by:
Pipettes
Defined in:
lib/ragerender/jekyll/blog_archive.rb

Overview

Data representing a single paginated blog entry, as available from [l:blogs_paginated].

Instance Method Summary collapse

Methods included from Pipettes

clean_payload, def_data_delegator, def_image_metadata, def_loop, extended, loops

Instance Method Details

#allowcommentsObject



72
73
74
# File 'lib/ragerender/jekyll/blog_archive.rb', line 72

def allowcomments
  @obj.site.config['allowcomments']
end

#commentsObject



76
77
78
# File 'lib/ragerender/jekyll/blog_archive.rb', line 76

def comments
  (@obj.data['comments'] || []).size
end

#posttimeObject



68
69
70
# File 'lib/ragerender/jekyll/blog_archive.rb', line 68

def posttime
  comicfury_date(@obj.date)
end