Merge pull request #1019 from tavon/master

Do not cache generated redirect index file.
This commit is contained in:
Thomas Reynolds 2013-09-24 23:39:34 -07:00
commit 43653b70a4

View file

@ -77,7 +77,7 @@ module Middleman
def template?
true
end
def render(*args, &block)
url = ::Middleman::Util.url_for(store.app, @request_path, :relative => false, :find_resource => true)
@ -89,6 +89,7 @@ module Middleman
<head>
<meta http-equiv=refresh content="0; url=#{url}" />
<meta name="robots" content="noindex,follow" />
<meta http-equiv="cache-control" content="no-cache" />
</head>
<body>
</body>