Class: Jekyll::ActivityPub::Document
- Defined in:
- lib/jekyll/activity_pub/document.rb
Overview
Represents a Document
Instance Attribute Summary
Attributes inherited from Image
Instance Method Summary collapse
-
#initialize(site, path, description = nil) ⇒ Document
constructor
Initialize with default data.
Methods included from Helper
#content, #generate_excerpt?, #hook_owner, #locale, #place_in_layout?, #pruned_data, #render_with_liquid?, #to_json, #to_liquid, #trigger_hooks
Constructor Details
#initialize(site, path, description = nil) ⇒ Document
Initialize with default data
14 15 16 17 18 19 20 |
# File 'lib/jekyll/activity_pub/document.rb', line 14 def initialize(site, path, description = nil) super data['type'] = 'Document' trigger_hooks :post_init end |