class Middleman::Sitemap::Extensions::Proxies

Manages the list of proxy configurations and manipulates the sitemap to include new resources based on those configurations

Public Instance Methods

proxy(path, target, opts={}) click to toggle source
# File lib/middleman-core/sitemap/extensions/proxies.rb, line 25
def proxy(path, target, opts={})
  ProxyDescriptor.new(
    ::Middleman::Util.normalize_path(path),
    ::Middleman::Util.normalize_path(target),
    opts.dup
  )
end