]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Rename config.yml to hugo.yml (#38582)
authorChristian Oliff <christianoliff@pm.me>
Wed, 17 May 2023 04:18:01 +0000 (13:18 +0900)
committerGitHub <noreply@github.com>
Wed, 17 May 2023 04:18:01 +0000 (07:18 +0300)
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.

build/generate-sri.js
hugo.yml [moved from config.yml with 100% similarity]

index 1674247a89be88995e0c9c68e07fbe6f8e463426..2e2292475589621bc6a11d621919e9ccfb5c5a16 100644 (file)
@@ -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',
similarity index 100%
rename from config.yml
rename to hugo.yml