Anubis2 is a simple but elegant theme for Hugo blog engine
Go to file
2024-05-13 11:03:14 +08:00
archetypes pre-commit formatter 2024-04-09 20:03:09 +08:00
assets fix: fix the linenumber disappearing because of fix previous bug. 2024-05-07 15:56:37 +08:00
data pre-commit formatter 2024-04-09 20:03:09 +08:00
exampleSiteMultilingual update: change demo site posts order to attract more peoples. 2024-05-07 16:03:03 +08:00
i18n pre-commit formatter 2024-04-09 20:03:09 +08:00
images update preview image 2024-03-06 14:32:08 +08:00
layouts add: added error message when customCSS not exist 2024-05-13 11:03:14 +08:00
.gitignore update demos 2024-04-25 13:41:05 +08:00
Features.md fix: there is a hugo bug, so disble the summary rendering test. 2024-04-28 01:58:45 +08:00
go.mod updt: to anubis2 2024-01-14 17:50:55 +08:00
LICENSE pre-commit formatter 2024-04-09 20:03:09 +08:00
netlify.toml Fixing typos 2023-07-24 12:08:05 +02:00
README.md Update README.md 2024-04-29 12:22:40 +08:00
theme.toml pre-commit formatter 2024-04-09 20:03:09 +08:00

Anubis2 Theme for Hugo License: MIT Netlify Status

Anubis2 is another simple minimalist theme for Hugo blog engine, check our Demo.

📝 Please note that anubis2 is under active maintenance, so please REMEMBER to keep your theme up to date!

image

Highlighted Features

  • Multilingual
  • Dark / Light mode (Automatic switch based on system settings)
  • Table of Contents
  • Comment Support (Giscus, Disque, ISSO, Utterances, GraphComment)
  • Analytics (Google, Umami)
  • RSS feeds
  • Mobile Support
  • Full Features

Installation

You need to install an extended version of Hugo to run this theme.

As Git Submodule

Inside the folder of your Hugo site, run:

git submodule add https://github.com/Junyi-99/hugo-theme-anubis2.git themes/anubis2

For more information read the official setup guide of Hugo.

Configure your site

Don't be panic, configure Anubis2 is really simple.

This is the minimum configuration:

baseURL = "https://hugo-theme-anubis2.netlify.app/"
languageCode = "en-us"
theme = "anubis2"
title = "Your Site's Name"

[author]
name = "Your Name"

[markup.goldmark.renderer]
unsafe = true # Enable unsafe mode to have a better experience

[markup.highlight]
style = 'base16-snazzy' # Highlight.js style

You are encouraged keeping other fields as defaults and fine-tune them when you have time! (see Full Configuration Examples)

Run your site

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

hugo server

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

Update to the latest version

In your Hugo site folder, run this command:

git submodule update --remote

Contributing

If you find a bug or have an idea for a feature, feel free to write an issue or make a PR.

License

MIT © Junyi, 2024