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
74 75 76 77 78 79 |
# File 'lib/jekyll-theme-amethyst.rb', line 74 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
81 82 83 84 85 |
# File 'lib/jekyll-theme-amethyst.rb', line 81 def url_placeholders super.merge({ "author" => data["author"] }) end |