From: Christian Oliff Date: Wed, 17 May 2023 04:18:01 +0000 (+0900) Subject: Rename config.yml to hugo.yml (#38582) X-Git-Tag: v5.3.0~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07a08c2335bf2e32579edcb110821c561bd0da67;p=thirdparty%2Fbootstrap.git Rename config.yml to hugo.yml (#38582) hugo.yml is now recommended (over the generic sounding config.yml) as the default config based filename REF: https://gohugo.io/getting-started/configuration/#hugotoml-vs-configtoml Changing this may make it easier for code editors and build tools to identify this as a Hugo configuration file and project. --- diff --git a/build/generate-sri.js b/build/generate-sri.js index 1674247a89..2e22924755 100644 --- a/build/generate-sri.js +++ b/build/generate-sri.js @@ -18,11 +18,11 @@ const sh = require('shelljs') sh.config.fatal = true -const configFile = path.join(__dirname, '../config.yml') +const configFile = path.join(__dirname, '../hugo.yml') // Array of objects which holds the files to generate SRI hashes for. // `file` is the path from the root folder -// `configPropertyName` is the config.yml variable's name of the file +// `configPropertyName` is the hugo.yml variable's name of the file const files = [ { file: 'dist/css/bootstrap.min.css', diff --git a/config.yml b/hugo.yml similarity index 100% rename from config.yml rename to hugo.yml