/hugo-theme-wisdom

Wisdom is a fast, minimalist, monospace theme for Hugo

Primary LanguageHTMLMIT LicenseMIT

Wisdom

GitHub Pages GitHub License

Wisdom is a fast, minimalist, monospace theme for Hugo. See DEMO
If you like it give us a ⭐!

Features

  • Dark and Light Color Schemes
  • Color-Scheme Preference Aware
  • SEO Friendly
  • Keywords
  • Multilingual and i18n support
  • Comments support
  • Production environment aware
  • Twitter Cards
  • OpenGraph
  • Google Analytics
  • Custom CSS and JS support
  • Callouts
  • Taxonomies

1. Install

1.1 As a Git Submodule

The theme will be added as a dependency to the original repository. When using CI tools like Netlify, Jenkins etc., the submodule method is required.

  1. Inside your Hugo site directory, run:

    git submodule add https://github.com/maxrodrigo/hugo-theme-wisdom themes/wisdom
  2. Set the theme into the configuration file:

    # config.yaml
    theme: "wisdom"
    # config.toml
    theme = "wisdom"

For more information read the official quick start guide of Hugo.

2. Getting Started

2.1 Example Configuration

See configuration example.

2.2 Add Menu

To add a menu, add a menu section to your site's config.toml:

[menu]
[[menu.main]]
  identifier = 'home'
  name = 'home'
  url = '/'
  weight = -110
[[menu.main]]
  identifier = 'posts'
  name = 'posts'
  url = '/posts/'
  weight = -100

2.3 Favicon

You can set the favicon by placing favicon.ico in the static directory.

- content
- static
  └── favicon.ico

2.4 Page Configuration

Defaults

title = "{{ replace .Name "-" " " | title }}"
date = {{ .Date }}
draft = true
noindex = false

Development

Browse exampleSite and serve.

cd exampleSite
hugo serve -t ../..

Contributing

Have you found a bug or got an idea for a new feature? Feel free to use the issue tracker to let me know. Or make directly a pull request.

License

This theme is released under the MIT license.