Module: Jekyll::Podcast::TagPageGenerator
- Defined in:
- lib/jekyll/podcast/tag_page_generator.rb
Overview
Generator to create tag pages for each tag on the site
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.permalink(tag, site) ⇒ Object
38 39 40 41 42 43 44 |
# File 'lib/jekyll/podcast/tag_page_generator.rb', line 38 def self.permalink(tag, site) if site.data['tag_permalinks'] && site.data['tag_permalinks'][tag] site.data['tag_permalinks'][tag] else "/#{Jekyll::Utils.slugify(tag)}/" end end |