Updated to work with ASP.NET Core 3.0.
- Consolidated setup into a single call to either
AddSeo
orAddSeoWithDefaultRobots
, there is noMapSeoRoutes
extension method for theIMvcBuilder
anymore. - Switched to the Options pattern for configuring Robots.txt and Sitemap.xml via the aforementioned
IServiceCollection
extension methods. See the README for more details.
- Removed
HeaderMetadataViewComponent
and replaced withOpenGraphTagHelper
. However there is no replacement for<meta name="robots" content="none"/>
, which was added byHeaderMetadataViewComponent
in non-production environments. If you still require this you will need to add it manually to each page that you want to stop robots from indexing or following links on. Alternatively set it in therobots.txt
file using this library. - Updated target framework to netstandard2.0
- Added several tag helpers to make it easy to add Open Graph metadata to cshtml pages.
- Added the ability to set the
Noindex
directive for each user agent inrobots.txt
file.
- First open source release.