(also known as hugo-coder-bn and/or Coder-bn)
Important
This repo hosts and describes the changes to a theme I made for my personal website. For general info about the theme, including installation and documentation, please visit the upstream repo.
A simple and clean "blog" theme for Hugo, now even more minimalistic. Based on original hugo-coder theme.
This theme is used on my personal website — https://www.bnfour.net/
There is not a lot of content there.
Differences from the upstream I can remember:
- Very infrequent updates
I remember I have this site up once in multiple years ¯\_(ツ)_/¯ - The best error page known to mankind
(subjectively) (shared with my other websites) - Different color palette
To match my other websites - Carousel for multiple scrolling
<h2>subheaders on the home page
Inspired by this example - Removal of some things I consider nonessential
Like most of animated transitions, some social metadata, integrity attributes for scripts from the same host anyway, etc - Other various small changes
Like square avatar, n-dash as years separator in the footer, different weight for Font Awesome icons, etc etc
All these changes are available in the style-customization branch of this repo.
To use the home page carousel, set info in the params section to a string array in hugo.toml:
[params]
info = ["Time stopper!", "Long sleeper!", "Easy gamer!"]Markdown formatting in these strings will be rendered.
Tip
If info is set to a single string, the custom layout, CSS, and JS are not rendered for backward compatibility.
Other parameters you might want to customize are hardcoded, including (but not limited to):
- display width of the scroller; in CSS
- scroll timings (delay between scrolls, transition time); in JS
