Hello! Let me introduce the freshPink theme!
Check out the Demo Site for a simple example and detailed tutorial.
This guide explains how to install and apply the theme using Hugo Modules (recommended). Follow these steps to get your blog up and running:
Open your terminal and run:
hugo new site my-blog
cd my-blog
Initialize your Hugo site as a module by running:
hugo mod init github.com/yourname/my-blog
Open your hugo.toml
file and customize it to match your site. For example:
baseURL = "https://yourusername.github.io/your-repo-name/"
title = "My Awesome Blog"
canonifyURLs = true
relativeURLs = false
https://username.github.io/repo-name/
).baseURL
matches the repository name you use for GitHub Pages.In the same hugo.toml
file, add the following section to import the theme:
[module]
[[module.imports]]
path = "github.com/elecbrandy/freshpink"
Run this command in your terminal to download the theme:
hugo mod get github.com/elecbrandy/freshpink
Finally, run the Hugo server:
hugo server
Open your browser and visit http://localhost:1313 to see your site with the freshPink theme applied.
To update the theme to the latest commit in the future, run:
hugo mod get -u github.com/elecbrandy/freshpink
If you encounter any cache issues, you can clean up Hugo Modules with:
hugo mod clean
If you have any issues or questions, please feel free to open an issue on the GitHub repository.
Thank you for choosing the freshPink theme! Enjoy your blogging experience!