A speed-focused, minimalist Hugo blog theme based on Bulma.io. Looks great on mobile and loads in a flash.
How to use:
Install the theme:
git submodule add https://github.com/orf/bare-hugo-theme.git themes/bare # This is required: git submodule update --init --recursive
Configuring the theme
[params] mainSections = ["posts"] author = "Tom Forbes" email = "firstname.lastname@example.org" description = 'Python developer living and working in Lisbon' postcss = true # Include the author name in the <title> of articles includeAuthorInTitle = true
The theme will pull posts from the content sections you define in
mainSections. In the example above
all posts from
content/posts will be included in the homepage.
You can use
postcss to strip out all the unused Bulma CSS rules. This brings the CSS bundle down
from 180kb to 10kb.
To enable this set
true in your
config.toml. Then, copy the
package.json and the
postcss.config.js into your repository and run
Social buttons can be configured by adding a
params.social array. Icons come from
[[params.social]] icon = "github-circle" url = "https://github.com/my-github-user/" [[params.social]] icon = "linkedin" url = "https://linkedin.com/in/my-username"
Hiding the theme link
I get it, you might not want to have a link to this repo on the footer of your blog. Add
disableAttribution to your
site parameters and it will be hidden.