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.
This commit is contained in:
Christian Oliff 2023-05-17 13:18:01 +09:00 committed by GitHub
parent bbf5278883
commit 07a08c2335
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View 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',