Sha256: 185ad5377b23ebc93fc71f69d75d23118fb2daa4262893d8247a1b9f140ce5b7
Contents?: true
Size: 646 Bytes
Versions: 2
Compression:
Stored size: 646 Bytes
Contents
# These are files which need to be in added to the root of the site directory # Use root assets for files like robots.text or favicon.ico module Octopress module Ink module Assets class RootAsset < Asset def initialize(plugin, type, file) @root = plugin.assets_path @plugin = plugin @dir = '' @type = type @file = file @exists = {} file_check end def copy unless exists? local_plugin_path Plugins.site.static_files << StaticFile.new(plugin_path, destination) end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
octopress-ink-1.0.0.alpha.33 | lib/octopress-ink/assets/root.rb |
octopress-ink-1.0.0.alpha.32 | lib/octopress-ink/assets/root.rb |