NOTICE: This is a (poorly created) fork of Hugo Bear Blog theme that I modified and somehow botched making it a fork
A Hugo-theme based on a Hugo-theme based on Bear Blog.
Free, no-nonsense, super-fast blogging with full control!
If you already have a Hugo site on your machine, you can simply add this theme via
git submodule add https://github.com/codebased-xyz/Hugo_Bear.git themes/<themeName>
Then, add theme = <themeName>
to your config. Adjust the config.toml
to customize the theme further.
A lot of the things you see can be customized using params in the config.toml
(or yaml,json) file. Below is a list of the params and what they do:
- customFooter -> HTML code to be added to the footer (at its end).
- sourceLink -> A link to the source of your site if using a license that requires it or you want to display it. Adds "Get the source code here" to the footer if present.
- hideMadeWithLine -> If set to
true
hides the "Made posible by ..." line from the footer.
- title -> The title to show in
h1
in the header. !! This is in the global settings and not params !! - subTitle -> Smaller title to show in
h3
below the title. If present.
- seo -> Disables seo_tags.html partial if
false
.
The contents of the index
-page may be changed by editing your content/_index.md
-file.
You can add a new page via running
hugo new my-new-page.md
You can add a new blog-post via running
hugo new blog/my-new-post.md
Add a custom_head.html
-file to your layouts/partials
-directory. In there you may add a <style>
-tag, or you may add a <link>
-tag referencing your own custom.css
(in case you prefer to have a separate .css
-file). Check out the style.html
-file to find out which CSS-styles are applied by default.
I am fully open to suggestions and fixes! Feel free to create an Issue and or Pull request!
Big thanks to Jan Raasch for making the Hugo-theme this repo is expanding upon (in my own style). A special thank you goes out to Herman, for creating the original ʕ•ᴥ•ʔ Bear Blog.
Everything below is left-over from original repo and will be revised to fit more.
For a current & working demo of this theme, please check out https://janraasch.github.io/hugo-bearblog/ 🎯.
⬜️ Light
⬛️ Dark
When the user's browser is running »dark mode«, the dark color scheme will be used automatically. The default is the light/white color scheme. Check out the style.html
-file for the implementation.
For more information, read the official setup guide of Hugo.