1. freshPink – Hugo Theme


Welcome to the freshPink theme! A clean and minimalist theme for Hugo, designed to give your blog a fresh look.



2. Demo Site


Check out the Demo Site for an example and detailed instructions.

This guide walks you through applying the freshpink theme to a new Hugo site using Hugo Modules — the recommended modern way to manage themes.



3. Prerequisites


Check your Hugo version!

hugo version


4. Let’s start


4-1. Create a New Hugo Site

hugo new site myblog
cd myblog

4-2. Initialize Hugo Modules

hugo mod init github.com/yourname/myblog

Replace yourname/myblog with your GitHub path (or any unique identifier). That means the repository address that you will host through GitHub. In my case, I made it hugo mod init github.com/elecbrandy/elecbrandy.github.io.


4-3. Update hugo.toml

Open the generated hugo.toml file and replace its contents completely with the configuration below. Then, update it with your own information:

baseURL = 'https://example.org/' # your git repository address
title = 'freshpink' # your own blog title
languageCode = 'en-us'
canonifyURLs = true

[[menus.main]]
name = 'Home'
pageRef = '/'
weight = 10

[[menus.main]]
name = 'TAGS'
pageRef = '/tags/'
weight = 20

[[menus.main]]
name = 'ABOUT'
pageRef = '/about/'
weight = 30

[module]
  [module.hugoVersion]
    extended = true
    min = "0.116.0"
  [[module.imports]]
    path = "github.com/elecbrandy/freshpink"

[params]
  googleAnalytics = 'G-000000000' # your GoogleAnalytics code
  githubUsername = 'elecbrandy' # your githubUsername
  copyright = 'Copyright © 2024 elecbrandy'
  math = true

[taxonomies]
  tag = 'tags'

[markup]
  [markup.goldmark]
    [markup.goldmark.renderer]
      unsafe = true

4-4. Download the Theme

hugo mod tidy

4-5. Create Your First Post

hugo new posts/hello.md

4-6. Run the Local Server

hugo server -D

Then open (local check) -> http://localhost:1313

You should see your blog styled with the freshpink theme! 🎉



5. Need Help?


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!