HCS.Meta.Robots 2.0.0

dotnet add package HCS.Meta.Robots --version 2.0.0
                    
NuGet\Install-Package HCS.Meta.Robots -Version 2.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="HCS.Meta.Robots" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HCS.Meta.Robots" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="HCS.Meta.Robots" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add HCS.Meta.Robots --version 2.0.0
                    
#r "nuget: HCS.Meta.Robots, 2.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package HCS.Meta.Robots@2.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=HCS.Meta.Robots&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=HCS.Meta.Robots&version=2.0.0
                    
Install as a Cake Tool

HCS.Meta.Robots

Downloads NuGet GitHub license

Umbraco package that serves robots.txt and llms.txt from configuration. Robots defaults to deny-all unless explicitly enabled — ideal for multi-environment setups. LLM support serves structured content to AI crawlers at /llms.txt.

Installation

dotnet add package HCS.Meta.Robots

Requires Umbraco v10.4+.


robots.txt

Add to appsettings.json:

"HCS": {
  "Meta": {
    "RobotsEnabled": true,
    "RobotsEntries": [],
    "RobotsAddToDefault": false
  }
}

When RobotsEnabled is false (default), all agents are disallowed. When enabled with an empty RobotsEntries, sensible Umbraco defaults are served.

Set RobotsAddToDefault: true to append your RobotsEntries after the defaults rather than replacing them.

Routes: /robots.txt, /{local}/robots.txt


llms.txt

Serves structured content to LLM crawlers following the llms.txt convention.

Routes: /llms.txt, /{local}/llms.txt

Quick start — file-based

"HCS": {
  "Meta": {
    "Llms": {
      "LlmsEnabled": true,
      "DefaultTitle": "My Site",
      "DefaultFilePath": "llms/default.md"
    }
  }
}

Place a markdown file at <ContentRoot>/llms/default.md. It is served as-is.

Per-domain configuration

"HCS": {
  "Meta": {
    "Llms": {
      "LlmsEnabled": true,
      "DefaultTitle": "My Site",
      "Configurations": [
        {
          "Domain": "example.com",
          "Name": "Example Site",
          "Summary": "A short description of this site.",
          "AdditionalNotes": "Extra context for LLMs.",
          "Sections": [
            {
              "Title": "Documentation",
              "Url": "/docs",
              "Description": "Full documentation."
            }
          ]
        }
      ]
    }
  }
}

Set FilePath on a configuration entry to serve a .md or .json file for that domain instead of using the inline fields.

JSON file format

{
  "name": "My Site",
  "summary": "A short description.",
  "additionalNotes": "Extra notes.",
  "sections": [
    { "title": "Docs", "url": "/docs", "description": "Documentation." }
  ]
}

Relative file paths resolve from ContentRootPath.


For full documentation and source, see the GitHub repository.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0 94 5/18/2026
2.0.0-beta-001 284 11/24/2025
1.2.1 285 11/24/2025
1.2.0 390 8/12/2025
1.1.0 1,641 4/19/2024
1.0.0 684 11/2/2023