The homepage of the Decen Cloud Project. Built on Hugo. https://www.decen.cloud
  • HTML 92.4%
  • JavaScript 5.7%
  • SCSS 1.9%
Find a file
Lukas Meyer 0a9ef3f6ea
All checks were successful
Publish / publish (push) Successful in 9s
Finallized the solutions part.
2026-07-21 16:47:02 +01:00
.forgejo/workflows Workflow improvements, subtitle added. 2026-07-14 14:46:33 +01:00
archetypes Initial Website 2026-07-03 12:36:33 +01:00
assets Added logo for cloud, some cosmetic design changes 2026-07-14 11:28:16 +01:00
config Lots of content, v1 almost done 2026-07-20 23:42:54 +01:00
content Finallized the solutions part. 2026-07-21 16:47:02 +01:00
layouts First batch of revised content 2026-07-20 14:16:12 +01:00
.gitignore Initial commit 2026-06-30 09:23:47 +00:00
go.mod Initial Website 2026-07-03 12:36:33 +01:00
go.sum Initial Website 2026-07-03 12:36:33 +01:00
hugo.work Initial Website 2026-07-03 12:36:33 +01:00
LICENSE Initial commit 2026-06-30 09:23:47 +00:00
package.json Initial Website 2026-07-03 12:36:33 +01:00
README.md Test publishing 2026-07-06 07:07:54 +01:00

Hugo FixIt Blog Template (Go)

👉 English | 简体中文

This is a quick start template for Hugo theme FixIt. It uses Hugo Modules feature to load the theme. If you favor Git more, you can check this template.

It comes with a basic theme structure and configuration directory1. GitHub action has been set up to deploy the blog to a public GitHub page automatically. Also, there's a cron job to update the theme automatically everyday.

Directory structure

▸ .github/       # GitHub configuration
▸ archetypes/    # page archetypes (like scaffolds of archetypes)
▸ assets/        # css, js, third-party libraries etc.
▸ config/        # configuration files
▸ content/       # markdown files for hugo project
▸ data/          # blog data (allow: yaml, json, toml), e.g. friends.yml
▸ public/        # build directory
▸ static/        # static files, e.g. favicon.ico
▸ themes/        # theme submodules
▸ go.mod
▸ go.sum

Quick Start

For a complete quick start, see this page.

Prerequisites

Use Template

CLI

npx fixit-cli create my-blog

Manual

  1. Click Use this template, and create your repository on GitHub.

    image
  2. Once the repository is created, just clone and enjoy it!

    # Clone with your own repository url
    git clone --recursive https://github.com/<your_name>/<your_blog_repo>.git
    

Tip

The repository name determines your GitHub Pages URL, for example:

Repository Name GitHub Pages
<your_name>.github.io https://<your_name>.github.io/
blog https://<your_name>.github.io/blog/

Launching the Site

# Development environment
hugo server
# Production environment
hugo server -e production

Build the Site

When your site is ready to deploy, run the following command:

hugo

Deploy to GitHub Pages

Note

You may have noticed that the first automatic deployment of GitHub Actions after the template initialization failed. This is because you have not configured Workflow permissions and GitHub Pages.

  1. Head to Setting => Actions => General => Workflow permissions => Check "Read and write permissions".
  2. GitHub Pages settings: Setting => Pages => Source: GitHub Actions.
  3. Modify config/_default/hugo.toml file baseURL to your site URL.
  4. Commit the changes from the previous step to the main branch, and GitHub Actions will automatically build and deploy the site to GitHub Pages.

Update Theme

Afterwards you can upgrade the theme with the following command:

# Update theme manually
hugo mod get -u github.com/hugo-fixit/FixIt@latest
hugo mod tidy
Start via NPM script
# build the blog
npm run build
# run a local debugging server with watch
npm run server
# run a local debugging server in production environment
npm run server:production
# update theme submodules
npm run update:theme

Troubleshooting

remote: Permission to git denied to github-actions[bot]. Head to Setting => Actions => General => Workflow permissions => Check "Read and write permissions".

  1. Instead of a single site configuration file, split your configuration by environment, root configuration key, and language. ↩︎