From 2e3d7a14923f9a001a1b9099e0a9c6c7308c7732 Mon Sep 17 00:00:00 2001 From: Nicola Belluti Date: Wed, 17 Apr 2024 00:19:18 +0200 Subject: [PATCH] Changed some configs --- config/_default/hugo.toml | 3 +++ config/_default/params.toml | 1 + static/robots.txt | 3 +++ 3 files changed, 7 insertions(+) create mode 100644 static/robots.txt diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index b0739c2..055e0f2 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -3,6 +3,9 @@ baseURL = "https://nicolabelluti.me/" # https://github.com/nunocoracao/blowfish theme = "blowfish" +enableRobotsTXT = false +summaryLength = 0 + [outputs] home = [ "HTML", # Enable the website diff --git a/config/_default/params.toml b/config/_default/params.toml index ffe2163..21f4b4a 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -62,4 +62,5 @@ smartTOCHideUnfocusedChildren = true showZenMode = true [list] + showSummary = true cardView = true diff --git a/static/robots.txt b/static/robots.txt new file mode 100644 index 0000000..e9e57dc --- /dev/null +++ b/static/robots.txt @@ -0,0 +1,3 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Disallow: