Hello! Let me introduce the freshPink theme!
Here is the demo site where you can find a simple example and a detailed tutorial. Go to Demo site.
There are two methods to install the freshPink theme. You can either use Git submodules (recommended for easy updates) or download it directly. Unless there's a specific reason, we recommend using the submodule method.
Navigate to Your Hugo Site Directory: Open a terminal and navigate to the root directory of your Hugo site. If you haven’t created a Hugo site yet, you can do so with the following command:
hugo new site yourSiteName
Add Theme as a Git Submodule: Add the freshPink theme to your site as a Git submodule. Run the following command in the terminal:
git submodule add [email protected]:ElecBrandy/freshpink.git themes/freshpink
Update Site Configuration:
Open your site’s config.toml
file in a text editor and update the theme
variable to "freshpink"
:
theme = "freshpink"
Preview Your Site: To ensure everything works correctly, run the following command to start the local server and preview your site:
hugo server
Download the Theme: Go to the FreshPink GitHub repository and download the theme as a ZIP file.
Extract and Move the Theme:
Extract the ZIP file and move the extracted folder to the themes
directory in your Hugo site.
Update Site Configuration:
Just like with the Git submodule method, open your config.toml
file and set the theme
variable to "freshpink"
.
Preview Your Site: Run the following command to build and preview your site locally:
hugo server
The freshPink theme is designed to be easily customizable. You can modify the styles, layouts, and content as needed to fit your site. Follow the tutorial on the demo site and try customizing it yourself!
warning!If you continue to see
.md
files that you didn't create, such as post-1.md, it's most likely from exampleSite, whose folder is/theme/freshpink/exampleSite
. Feel free to delete it, but for the sake of a smooth blogging experience, get rid of the examples! :)
If you encounter any issues or have questions, feel free to open an issue on the GitHub repository.
Thank you for choosing the freshPink theme! :)