diff --git a/.hugo/hugo.toml b/.hugo/hugo.toml index d32fb96cd7..57ad32773e 100644 --- a/.hugo/hugo.toml +++ b/.hugo/hugo.toml @@ -51,11 +51,16 @@ enableRobotsTXT = true unsafe= true [outputFormats] - [outputFormats.TXT] + [outputFormats.LLMS] mediaType = "text/plain" baseName = "llms" isPlainText = true root = true + [outputFormats.LLMS-FULL] + mediaType = "text/plain" + baseName = "llms-full" + isPlainText = true + root = true [outputs] - home = ["HTML", "TXT"] + home = ["HTML", "RSS", "LLMS", "LLMS-FULL"] diff --git a/.hugo/layouts/index.llms-full.txt b/.hugo/layouts/index.llms-full.txt new file mode 100644 index 0000000000..1b56e98c04 --- /dev/null +++ b/.hugo/layouts/index.llms-full.txt @@ -0,0 +1,14 @@ +{{ .Site.Params.description }} + +{{ range .Site.Sections }} +# {{ .Title }} +{{ .Description }} +{{ range .Pages }} +# {{ .Title }} +{{ .Description }} +{{ .RawContent }} +{{ range .Pages }} +# {{ .Title }} +{{ .Description }} +{{ .RawContent }} +{{end }}{{ end }}{{ end }} diff --git a/.hugo/layouts/index.txt b/.hugo/layouts/index.llms.txt similarity index 100% rename from .hugo/layouts/index.txt rename to .hugo/layouts/index.llms.txt