You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2.1 KiB

title date tags categories code
Hello World 2022-09-29T17:06:11+08:00
hello
FixIt
hello
maxShownLines
11

Welcome to Hugo FixIt! This is your very first post.

Head to the documentation page linked below for a complete guidence to get started with the FixIt theme.

{{< link href="https://fixit.lruihao.cn/documentation/" content="All Documentation - FixIt" title="documentation of FixIt Theme" card=true >}}

Quick Start

For a complete quick start, see this page.

Prerequisites

Hugo: >= 0.109.0 (extended version)

Use this Template

  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
    

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

Update theme

Afterwards you can upgrade the theme with the following command:

# Update theme manually
git submodule update --remote --merge themes/FixIt
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

Feedback

Whether it's questions, ideas, bugs or pull requests, all feedback is welcome!

Head over to the issues or discussions tracker.