def get_hugo_config_content(): content = """ baseURL = 'http://example.org/' languageCode = 'en-us' title = 'My New Hugo Site' [module] [[module.imports]] path = "github.com/colinwilson/lotusdocs" disable = false [[module.imports]] path = "github.com/gohugoio/hugo-mod-bootstrap-scss/v5" disable = false """ return content # Get TOML file content toml_content = get_hugo_config_content() # Write the content in a hugo.toml file with open('hugo.toml', 'w') as file: file.write(toml_content) print("File hugo.toml generated with success.")