lib/jekyll/configuration.rb
def style_to_permalink(permalink_style)
      case permalink_style.to_sym
      when :pretty
        "/:categories/:year/:month/:day/:title/"
      when :none
        "/:categories/:title:output_ext"
      when :date
        "/:categories/:year/:month/:day/:title:output_ext"
      when :ordinal
        "/:categories/:year/:y_day/:title:output_ext"
      when :weekdate
        "/:categories/:year/W:week/:short_day/:title:output_ext"
      else
        permalink_style.to_s
      end
    end
# Default options. Overridden by values in _config.yml.
# Strings rather than symbols are used for compatibility with YAML.
Default options. Overridden by values in _config.yml.
Strings rather than symbols are used for compatibility with YAML.
Default options . Overridden by values in _config . yml . Strings rather than symbols are used for compatibility with YAML .
def style_to_permalink(permalink_style)
      case permalink_style.to_sym
      when :pretty
        "/:categories/:year/:month/:day/:title/"
      when :none
        "/:categories/:title:output_ext"
      when :date
        "/:categories/:year/:month/:day/:title:output_ext"
      when :ordinal
        "/:categories/:year/:y_day/:title:output_ext"
      when :weekdate
        "/:categories/:year/W:week/:short_day/:title:output_ext"
      else
        permalink_style.to_s
      end
    end
def style_to_permalink ( permalink_style ) case permalink_style . to_sym when :pretty "/:categories/:year/:month/:day/:title/" when :none "/:categories/:title:output_ext" when :date "/:categories/:year/:month/:day/:title:output_ext" when :ordinal "/:categories/:year/:y_day/:title:output_ext" when :weekdate "/:categories/:year/W:week/:short_day/:title:output_ext" else permalink_style . to_s end end
Default options.
Default options .
permalink_style