Sha256: b4ae10f3ceba765dfa397b2235dd49beb5d238d2ea6b69d5f7aa99b91abc23d8

Contents?: true

Size: 262 Bytes

Versions: 2

Compression:

Stored size: 262 Bytes

Contents

# frozen_string_literal: true

module Jekyll
  module Drops
    # A new :podcast_element component for the site's permalink structure
    class UrlDrop < Drop
      def podcast_episode
        @obj.data.dig('podcast', 'episode').to_s
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-podcast-0.9.1 lib/jekyll/podcast/podcast_episode_drop.rb
jekyll-podcast-0.9.0 lib/jekyll/podcast/podcast_episode_drop.rb