Fast, minimal blog with dark mode support.
Go to file
Sid 4c799345b5
ci: run stale.yml workflow manually
2024-01-08 15:58:04 +05:30
.devcontainer feat: add config for Dev containers (#102) 2023-08-26 11:51:40 +05:30
.github ci: run stale.yml workflow manually 2024-01-08 15:58:04 +05:30
archetypes chore: initial commit 2023-02-14 02:04:15 +05:30
assets fix: inconsistent appearance of inline code, in lists, in light theme (#159) 2023-12-23 01:01:25 +05:30
exampleSite feat: add support for German language 2024-01-08 15:49:16 +05:30
i18n feat: add support for German language 2024-01-08 15:49:16 +05:30
images chore: update screenshots 2023-02-15 14:55:27 +05:30
layouts feat: add ability to enable toc on certain posts ignore global toc settings (#143) 2023-12-03 19:59:33 +05:30
static/fonts/Roboto fix: handle relative non-root baseURL (#25) 2023-05-05 15:38:43 +05:30
.editorconfig feat: enforce code formatting with .editorconfig 2023-04-25 15:49:20 +05:30
.gitattributes chore: add .gitattributes 2023-04-25 18:46:49 +05:30
.gitignore chore: normalize all the line endings 2023-04-25 18:48:40 +05:30
CHANGELOG.md chore(main): release 1.13.0 (#146) 2024-01-02 20:20:28 +05:30
CODE_OF_CONDUCT.md chore: create CODE_OF_CONDUCT.md 2023-03-15 15:17:06 +05:30
CONTRIBUTING.md chore(repo): add info regarding changelog 2023-05-10 09:51:18 +05:30
LICENSE chore: initial commit 2023-02-14 02:04:15 +05:30
README.md chore: add link, fix typo in readme 2023-09-23 19:29:35 +05:30
netlify.toml ci: update Hugo version for Netlify builds 2023-09-16 15:11:33 +05:30
theme.toml feat: add multilingual mode (websites with multiple languages side by side) (#127) 2023-09-25 10:22:18 +05:30

README.md

Hugo blog awesome logo

Hugo Blog Awesome | Demo link

Fast | 📰 Clean UI | 🌙 Dark mode support | 📱 Responsive design

Screenshots

Dark mode Light mode
Dark mode Light mode
Page speed score (click to expand)

Page speed score

The result shown above was last confirmed on September 23, 2023. You can check the details of the PageSpeed test at this link: Link to the analysis. You can also do a live PageSpeed test of the demo website now.

Features

  • Minimal design
  • Light and dark mode
  • Syntax highlighting
  • RSS feed
  • No jQuery, no Bootstrap
  • 100/100 Google PageSpeed Insights score on all 4 metrics

Why this theme?

Hugo Blog Awesome (HBA) is a theme crafted to capture your readers' attention.

Additionally, it's fast, privacy-conscious, and comes with no external dependencies. That's right. There are no Google fonts, icon packs, or JavaScript frameworks. No trackers or ads to bloat your website.

Its focus on minimalism and clean UI ensures that your content takes the spotlight. This, coupled with the support for dark mode, provides a stress-free (on the eyes) reading experience for your audience.

Built with Hugo, SCSS, and vanilla JavaScript.

Setup

Note You must have the Hugo extended version installed in order to use this theme. This theme uses SCSS for styling. With the Hugo extended version, SCSS can be compiled to CSS without any additional tools.

To create a new Hugo site with this theme, run the following command:

hugo new site myblog

Then, clone this repository into the themes directory of your new site:

cd myblog
git clone https://github.com/hugo-sid/hugo-blog-awesome.git themes/hugo-blog-awesome

To preview the theme with example content, run the following command from the exampleSite directory:

hugo server --themesDir ../..

Usage

To use this theme, set the theme variable in your site's config.toml to hugo-blog-awesome:

theme = "hugo-blog-awesome"

Configuration

You can take a look at the config.toml file in the exampleSite directory for an example configuration. It is recommended that you copy the config.toml file from the exampleSite directory to the root directory of your Hugo site. You can then edit the config.toml file to suit your needs.

Adding favicon

I used realfavicongenerator.net to generate the favicons. You can place the resulting files in the assets\icons folder. That should get your favicon working.

If you want to customize anything further, you can modify layouts\partials\head.html.

Adding Social icons

Social icons can be added by congifuring config.toml file in the following manner.

[[params.socialIcons]]
name = "github"
url = "https://github.com/hugo-sid"

[[params.socialIcons]]
name = "twitter"
url = "https://twitter.com"

[[params.socialIcons]]
name = "Rss"
url = "index.xml"
List of available icons (click to expand)
Name Platform
123rf 123rf.com
adobestock stock.adobe.com
applemusic music.apple.com
behance behance.net
bilibili bilibili.com
bitcoin -
buymeacoffee buymeacoffee.com
codepen codepen.io
cryptohack cryptohack.org
ctftime ctftime.org
cv -
deezer deezer.com
dev dev.to
discogs discogs.com
discord discord.com
dreamstime dreamstime.com
dribbble dribbble.com
email -
facebook facebook.com
flickr flickr.com
freepik freepik.com
gitea gitea.io
github github.com
gitlab gitlab.com
goodreads goodreads.com
googlescholar scholar.google.com
guruShots gurushots.com
hackerone hackerone.com
hackerrank hackerrank.com
hackthebox hackthebox.eu
instagram instagram.com
itchio itch.io
kaggle -
kakaotalk kakaocorp.com/service/KakaoTalk
key -
keybase keybase.io
kofi ko-fi.com
komoot -
lastfm last.fm
letterboxd -
liberapay liberapay.com
linkedin linkedin.com
mastodon mastodon.social
matrix matrix.org
medium medium.com
monero -
mixcloud mixcloud.com
nuget nuget.org
paypal paypal.com
peertube -
pgp -
phone -
ploywork ploywork.com
qq qq.com
reddit reddit.com
researchgate researchgate.net
rss -
serverfault serverfault.com
soundcloud soundcloud.com
shutterstock shutterstock.com
slack slack.com
snapchat snapchat.com/add
spotify spotify.com
stackoverflow stackoverflow.com
steam steampowered.com
strava strava.com
telegram telegram.org
tiktok tiktok.com
twitch twitch.tv
twitter (the blue bird logo) twitter.com
unsplash unsplash.com
x (formerly Twitter) x.com
xda xda-developers.com
xing xing.com
ycombinator ycombinator.com
youtube youtube.com
other -

If you are trying to add an icon that is not listed above, you can modify layouts\partials\svgs\svgs.html to include your icon (SVG). You are encouraged to submit your icon by creating a pull request, so that others can benefit.

Enable go to top button

To enable go to top button on blog posts, set goToTop to true in config.toml file.

[params]
  goToTop = true

Content

Posts

To create a new post, run the following command:

hugo new posts/my-first-post.md

Then, edit the my-first-post.md file to suit your needs.

Comments

To enable Disqus comments, set disqusShortname in your site's config.toml.

To use another comments system, provide your own comments.html partial in layouts\partials\comments.html.

Contributing

Please read CONTRIBUTING.md.

Contributors

Thanks to these wonderful people for contributing to Hugo blog awesome:

Websites using this theme

If you are using this theme for any website, feel free to list the website here. You can submit a pull request (PR) to include your website.

Support

Don't forget to the repo if you liked this theme!

Buy Me a Coffee at ko-fi.com

Credits

The social icons are made possible thanks to Aditya Telange's hugo-PaperMod theme.

Thanks to piharpi for creating the Jekyll klise theme. It served as an inspiration to create this Hugo theme.

License

This theme is released under the MIT license. For more information read the License.

Stats

Visitors

Visitors

Star History

Star History Chart