Skip to content

Commit

Permalink
Made MirrorResources opt-in (#896)
Browse files Browse the repository at this point in the history
  • Loading branch information
daveaglick committed May 7, 2020
1 parent 6da858e commit 792962f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# 1.0.0-alpha.11

- Changed resource mirroring to be opt-in instead of opt-out (you now need to set `MirrorResources` to `true` to enable) (#896).
- Fix to filter tree placeholder pages out of the `Sitemap` pipeline (#895).

# 1.0.0-alpha.10
Expand Down
1 change: 0 additions & 1 deletion src/Statiq.Web/BootstrapperFactoryExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ public static Bootstrapper CreateWeb(this BootstrapperFactory factory, string[]
{ WebKeys.ContentFiles, "**/{!_,}*.{html,cshtml,md}" },
{ WebKeys.DataFiles, "**/{!_,}*.{json,yaml,yml}" },
{ WebKeys.DirectoryMetadataFiles, "**/_{d,D}irectory.{json,yaml,yml}" },
{ WebKeys.MirrorResources, true },
{ WebKeys.ValidateRelativeLinks, true },
{ WebKeys.GenerateSitemap, true },
{ WebKeys.Xref, Config.FromDocument(doc => doc.GetTitle().Replace(' ', '-')) },
Expand Down

0 comments on commit 792962f

Please sign in to comment.