Class: Jekyll::ActivityPub::Nodeinfo21

Inherits:
Nodeinfo20
  • Object
show all
Defined in:
lib/jekyll/activity_pub/nodeinfo_21.rb

Overview

Points to site’s nodeinfo 2.1

Instance Method Summary collapse

Methods inherited from Nodeinfo20

#increase_local_posts_counter!, #initialize, #permalink, #to_jrd

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

This class inherits a constructor from Jekyll::ActivityPub::Nodeinfo20

Instance Method Details

#read_yamlObject



14
15
16
17
18
19
# File 'lib/jekyll/activity_pub/nodeinfo_21.rb', line 14

def read_yaml(*)
  super.tap do |data|
    data['software']['repository'] = 'https://0xacab.org/sutty/jekyll/jekyll-activity-pub/'
    data['software']['homepage'] = 'https://sutty.nl'
  end
end

#versionObject



10
11
12
# File 'lib/jekyll/activity_pub/nodeinfo_21.rb', line 10

def version
  '2.1'
end