Skip to content

bnfour/hugo-coder

 
 

Repository files navigation

Hugo-coder fork

(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.

✨WOW✨

Live demo

This theme is used on my personal website — https://www.bnfour.net/
There is not a lot of content there.

Fork features

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.

Carousel configuration

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.

Known limitations

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

About

A minimalist blog theme for hugo, now even more minimalistic

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages

  • HTML 55.6%
  • SCSS 40.6%
  • JavaScript 3.5%
  • Makefile 0.3%