From 42cc66febc6b49cb52e65d4fc0de53c6ace9dc79 Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Sun, 19 Nov 2023 12:40:57 +0100 Subject: [PATCH] move tootpick.html to layouts to make use of --minify in static files only get copied, from layouts they get also minified by hugo --- config/_default/config.toml | 8 +++++++- {static => layouts}/tootpick.html | 0 2 files changed, 7 insertions(+), 1 deletion(-) rename {static => layouts}/tootpick.html (100%) diff --git a/config/_default/config.toml b/config/_default/config.toml index cdc84f6..1f8823c 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -37,8 +37,14 @@ summaryLength = 0 isPlainText = true notAlternative = true +[outputFormats.Tootpick] + mediaType = "text/html" + basename = "tootpick" + isPlainText = true + notAlternative = true + [outputs] - home = [ "HTML", "Atom", "JSON", "HumansTXT" ] + home = [ "HTML", "Atom", "JSON", "HumansTXT", "Tootpick" ] page = ["HTML"] section = ["HTML", "Atom"] # taxonomyTerm = ["HTML"] diff --git a/static/tootpick.html b/layouts/tootpick.html similarity index 100% rename from static/tootpick.html rename to layouts/tootpick.html