Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/output
diff options
context:
space:
mode:
Diffstat (limited to 'output')
-rw-r--r--output/outputFormat.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/output/outputFormat.go b/output/outputFormat.go
index fbc9f20cc..0920e5736 100644
--- a/output/outputFormat.go
+++ b/output/outputFormat.go
@@ -125,6 +125,14 @@ var (
Rel: "alternate",
}
+ RobotsTxtFormat = Format{
+ Name: "ROBOTS",
+ MediaType: media.TextType,
+ BaseName: "robots",
+ IsPlainText: true,
+ Rel: "alternate",
+ }
+
RSSFormat = Format{
Name: "RSS",
MediaType: media.RSSType,