Bitsandpieces Theme Documentation
Download the theme to your Hugo projects'
Use the provided
config.toml or base your current one on the example.
That's it, enjoy! Further configuration is below if that's of your interest.
This is the
config.toml that I use for my website.
baseURL = "/" languageCode = "en-us" title = "Colin Murphy's site" theme = "bitsandpieces" disableKinds = ["taxonomy", "taxonomyTerm"] [[menu.main]] name = "Home" url = "/" weight = 1 identifier = "alt+h" [permalinks] notes = "/notes/:title/" [params] showTitle = true showSideNav = false mainPosts = true
This theme supports keyboard shortcuts for navigation entries. These are useful for your most commonly used pages, such as the homepage.
To use this, simply add
identifier with your keyboard shortcut. For example,
h will be entered in as
Here are 2 examples, with one using
config.toml and the other in the toml frontmatter:
[[menu.main]] name = "Home" url = "/" weight = 1 identifier = "alt+h"
--- title: "Home" menu: main: weight: 1 identifier: "alt+h" ---
||TEXT||Specify your blog folder here. If you keep your posts in
This theme is based off of the bitsandpieces theme by lostkeys on GitHub.
It also utilizes the following projects: