From 6a2b601bfbb58be9ebd65ac5da1ead94e2b3410a Mon Sep 17 00:00:00 2001 From: alufers Date: Thu, 9 May 2024 21:18:12 +0200 Subject: [PATCH] Add robots.txt generation --- README.md | 1 + hugo.yaml | 1 + robots.txt => layouts/robots.txt | 0 3 files changed, 2 insertions(+) rename robots.txt => layouts/robots.txt (100%) diff --git a/README.md b/README.md index 3776396..591e8ee 100644 --- a/README.md +++ b/README.md @@ -18,3 +18,4 @@ Alternatively you can just `docker-compose up` and visit `http://localhost:1313` - `layouts/` - THe layout & structure of the website - `layouts/partials/sponsors.html` - Sponsors - `assets/` - CSS, JS, images, etc. +- `hugo.yaml` - Site configuration, main menu lives here diff --git a/hugo.yaml b/hugo.yaml index 9ea30ac..85abdaa 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -19,3 +19,4 @@ menus: - name: Status siedziby pageRef: /at weight: 50 +enableRobotsTXT: true diff --git a/robots.txt b/layouts/robots.txt similarity index 100% rename from robots.txt rename to layouts/robots.txt