From 07a08c2335bf2e32579edcb110821c561bd0da67 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Wed, 17 May 2023 13:18:01 +0900 Subject: [PATCH] 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. --- build/generate-sri.js | 4 ++-- config.yml => hugo.yml | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename config.yml => hugo.yml (100%) 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