Sha256: 0027580896ebc4dedf7d5516b03d630cb5b6b7e367445449ac49b1d39d57b3f3

Contents?: true

Size: 572 Bytes

Versions: 3

Compression:

Stored size: 572 Bytes

Contents

# encoding: UTF-8

module Octopress
  module Linkblog
    DEFAULT_OPTIONS = {
      'linkblog' => {
        'linkpost' => {
          'marker' => "→",
          'marker_position' => 'after'
        },

        'post' => {
          'marker' => false,
          'marker_position' => 'before'
        },

        'titlecase' => true,
        'unorphan'  => true,
        'permalink_label' => 'Permalink'
      }
    }

    def self.config(options={})
      @config ||= Jekyll::Utils.deep_merge_hashes(DEFAULT_OPTIONS, options)
      @config['linkblog']
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
octopress-linkblog-2.0.2 lib/octopress-linkblog/configuration.rb
octopress-linkblog-2.0.1 lib/octopress-linkblog/configuration.rb
octopress-linkblog-2.0.0 lib/octopress-linkblog/configuration.rb