Anubis2 is a simple but elegant theme for Hugo blog engine
Go to file
Michal Pasierbski 9d324b29a7 Add Polish i18n
2020-05-24 18:06:02 +02:00
archetypes initial commit 2020-01-12 09:51:51 +03:00
exampleSite add exampleSite 2020-02-16 13:13:41 +03:00
i18n Add Polish i18n 2020-05-24 18:06:02 +02:00
images add screenshots by right way 2020-02-16 13:02:57 +03:00
layouts Add support for _index.md. Close #31 2020-05-07 22:02:59 +03:00
static/css Add skip to main content link (accessibility). Close #24 2020-04-26 15:18:55 +03:00
LICENSE initial commit 2020-01-12 09:51:51 +03:00
README.md Update README: update config section. Close #32 2020-05-14 22:33:21 +03:00
theme.toml change theme config from yaml to toml 2020-02-16 20:43:53 +03:00

Anubis Theme for Hugo

Anubis is a simple minimalist theme for Hugo blog engine.

Anubis Screenshot

Features

  • Pagination
  • Tags/Categories support
  • Archive
  • Mobile support
  • Google Analytics
  • Disqus
  • RSS feeds
  • Translations (en, ru, fr)

Installation

Inside the folder of your Hugo site run:

$ git submodule add https://github.com/mitrichius/hugo-theme-anubis.git themes/anubis

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.

Update config file

If you have toml config (which is by default), you should rename it to config.yaml or adapt this config for toml syntax.

Example of config.yaml:

languageCode: "en-us"
baseUrl: ""
title: "Anubis"
theme: "anubis"
paginate: 10
disqusShortname: yourdiscussshortname
googleAnalytics: UA-123-45

menu:
  main:
  - identifier: archive
    name: Archive
    title: Archive
    url: /posts/
    weight: 0

params:
  author: ""
  description: ""
  images:
    - images/og-featured.png
  customCSS:
    - css/my.css

Check your site

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.

Feature Settings

Google Analytics

Only works for production environment. You either build your site with variable like HUGO_ENV=production hugo --minify or just put env: production to params section of config.

Contributing

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

TODO

See issues.

License

MIT

(c) Dmitry Kolosov 2020