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.
Add a Hugo theme
From the course: Learning Static Site Building with Hugo
Add a Hugo theme
- [Narrator] Hugo uses packages called themes to let you easily change the look and feel of your site or start with a prebuilt look and feel. You can see a list of themes on the web on themes.gohugo.io. In this course, we'll use a theme called Minimalist. To install this theme, we need to download the theme files into our Hugo project. To start, I can right-click on this download link and choose Copy Link Address. Then I'll switch over to PowerShell. I'm still here in my Hugo Project folder, and I can run a git command called git submodule add, and then paste in that link that I copied to the Minimalist theme files. And finally, I need to specify that these files should be downloaded into the themes/hugo-minimalist-theme folder. When I switch back to my editor, I can see that in my themes folder, I have a new folder called hugo.minimalist-theme. And there's one thing I need to do to finish installing this theme. If I open up the exampleSite folder and then the data folder there's this…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.