Class: Jekyll::AmethystPlugin::AuthorPageWithoutAFile
- Inherits:
-
PageWithoutAFile
- Object
- PageWithoutAFile
- Jekyll::AmethystPlugin::AuthorPageWithoutAFile
- Defined in:
- lib/jekyll-theme-amethyst.rb
Instance Method Summary collapse
Instance Method Details
#template ⇒ Object
45 46 47 48 49 50 |
# File 'lib/jekyll-theme-amethyst.rb', line 45 def template # The permalink template, e.g. customize to "/blog/author/:author/" # on sites with both API docs and a blog. = site.config["amethyst"]["author_permalink"] || "/author/:author" Utils.add_permalink_suffix(, site.permalink_style) end |
#url_placeholders ⇒ Object
52 53 54 55 56 |
# File 'lib/jekyll-theme-amethyst.rb', line 52 def url_placeholders super.merge({ "author" => data["author"] }) end |