jekyll-octopod 0.21.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08b3d44f4b48f6f493121d5d6bcd4708d4d82f54a386be9a79e8f4cf9df5aceb'
4
- data.tar.gz: 518582535ee414dcc81f41ad540bf3242bd2fe339067d292733c7c3abe995ca9
3
+ metadata.gz: 24977665ce521eb079a357fb865df920bccd0fed95bddf6b33c28022305d58ce
4
+ data.tar.gz: 5b1626a963311fcdb716f95ad3251a6dd4901398988450ac87c266c9614e720c
5
5
  SHA512:
6
- metadata.gz: df52f5ac952f8ce2f4ae7089696183f519f93d0f43133e02011e1f66114c8b9b2e57b32d6da857b69439330af566b53693495f5c7ab733eee8a8e1e7e0d2c256
7
- data.tar.gz: 61da23c9b801a3f33e011e97723c0dcb2a4d5de86cd15b0e3bdeb8f4cb3f5527eb93c1fc600aaabb6b7e24181b96a223b277c05cc06bc48422a07dc4551b4c47
6
+ metadata.gz: 8318ee2181c3e65b494edb97f399c812b993ed8ccffe62c3b7ba58d016ff063d75725dcd25eb3174fce351943c35b983b77a46046715e6130e507efc34f34e6e
7
+ data.tar.gz: c85acaa2673dea3dedafdec6a84c8c3a19f2da26cb211fe7fbbd913efb93187f645ebad63aafedd442cd4be928276bfa93f67a07447d3ae75c1590827cbe350f
@@ -4,6 +4,11 @@ module Jekyll
4
4
  class PodlovePlayerTag < Liquid::Tag
5
5
  include Jekyll::OctopodFilters
6
6
 
7
+ # Every channel the player itself supports (per the config docs below) - sent unconditionally
8
+ # rather than exposed as a site/post setting, so the share tab always has something to offer
9
+ # instead of defaulting to the player's own empty channel list.
10
+ SHARE_CHANNELS = %w[twitter facebook whats-app linkedin pinterest xing mail link].freeze
11
+
7
12
  # From here: https://docs.podlove.org/podlove-web-player/v5/configuration
8
13
  def playerconfig(context)
9
14
  config = context.registers[:site].config
@@ -40,7 +45,8 @@ module Jekyll
40
45
  duration: page["duration"],
41
46
  audio: audio,
42
47
  chapters: page["chapters"] ? page["chapters"].map { |chapter| split_chapter(chapter) }.compact : nil,
43
- transcripts: transcripts_for(page)
48
+ transcripts: transcripts_for(page),
49
+ share: { channels: SHARE_CHANNELS }
44
50
  }.to_json
45
51
  end
46
52
 
@@ -2,7 +2,7 @@ module Jekyll
2
2
  class Octopod
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 0
5
- MINOR = 21
5
+ MINOR = 22
6
6
  TINY = 0
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-octopod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arne Eilermann