From the course: Learning Static Site Building with Hugo

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

The site configuration file

The site configuration file

From the course: Learning Static Site Building with Hugo

Start my 1-month free trial

The site configuration file

- [Instructor] Every Hugo project contains a configuration file, usually called config.toml at the top level of the project structure. Since you just installed the minimalist theme, you'll need to make a few changes to your configuration file. The easiest way to do this is to expand the themes folder once again, find the example site folder, and then find the config.toml file inside of that example site folder. I'll just select everything in here, copy this, and then go to my top level config.toml file and paste. There's a few more updates I need to make. There's a section here starting on line 11 going to this themes dir property. I need to just delete all of this. I'll also update the title of the site to my awesome static site. And for now I'm going to delete or comment out this disqus short name property. This property is used to enable comments on the site, but we don't need that right now. At the bottom of this configuration file, there's a few social related properties. I'll…

Contents