A fast, minimalist and responsive hugo theme for bloggers.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
nodejh 82a3842d31 feat: update docs 4 years ago
archetypes feat: refactor header and navigation 4 years ago
exampleSite feat: update docs 4 years ago
images feat: update docs 4 years ago
layouts fix: fix links 4 years ago
static style: update tags page styles 4 years ago
.gitignore feat: update exampleSite 4 years ago
CHANGELOG Support twitter card 7 years ago
LICENSE.md update LICENSE 8 years ago
README-backup.md feat: update theme.toml 4 years ago
README.md feat: update docs 4 years ago
README_zh-cn.md fix broken archetypes link 7 years ago
theme.toml feat: add exampleSite 4 years ago

README.md

Hugo Theme Mini

A fast, minimalist and responsive hugo theme.

./images/screenshot.png

Features:

  • Fast
  • Minimalist
  • Responsive
  • Archive
  • Tags

Installation

⚠️ If you installed a Hugo binary, you may not have Go installed on your machine. To check if Go is installed:

$ go version

Go modules were considered production ready in v1.14. Download Go.

  1. From your project's root directory, initiate the hugo module system if you haven't already:

    $ hugo mod init github.com/<your_user>/<your_project>
    
  2. Add the theme's repo to your config.yaml:

    theme: 
      - github.com/nodejh/gohugo-theme-mini
    

As Git Submodule

Inside the folder of your Hugo site run:

$ git submodule add https://github.com/nodejh/gohugo-theme-mini.git themes/mini

For more information read the official setup guide of Hugo.

Getting started

After installing the theme successfully it requires a just a few more steps to get your site running.

The config file

Take a look inside the exampleSite folder of this theme. You'll find a file called config.yaml. To use it, copy the config.yaml in the root folder of your Hugo site. Feel free to change the strings in this theme.

You may need to delete the line: themesDir: ../../

Logo and favicon

You can replace the log in the top of each page and favicon with your own images. To do that replace static/images/avatar.png and static/images/favicon.ico .

Nearly finished

In order to see your site in action, run Hugo's built-in local server.

$ hugo server

Now enter localhost:1313 in the address bar of your browser.