Personal Website & Blog Theme for Hugo
Find a file
Wen Sun 9aa130cd64
Update timelineItem.html
* Add `break-words` to prevent content overflow
2023-12-21 10:56:40 +09:00
.github 👷 Bump actions/stale from 8 to 9 2023-12-13 05:30:20 +00:00
.vscode add vscode code-snippets for blowfish shortcodes 2023-10-11 14:51:46 -05:00
archetypes initial commit 2022-09-10 20:05:37 +01:00
assets 💖 Handle Enter key in search 2023-12-14 12:12:49 +00:00
config/_default Add option to hide text in header 2023-12-01 13:28:24 +00:00
data update twitter icon to X 2023-11-02 22:51:09 +00:00
exampleSite External Markdown Importer Shortcode 2023-12-14 12:37:23 +00:00
i18n fix(i18n/ru.yaml): removing an extra letter in a pinterest string 2023-11-16 13:39:05 +03:00
images add new home layout 2022-10-16 17:25:13 +01:00
layouts Update timelineItem.html 2023-12-21 10:56:40 +09:00
static final release prep 2023-10-27 21:58:49 +01:00
.firebaserc adding firebaserc file 2022-12-30 15:11:38 +00:00
.gitignore final 2023-10-15 19:44:35 +01:00
blowfish_logo.png add logo to main folder 2022-11-13 15:37:06 +00:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2022-10-01 00:25:13 +01:00
config.toml ⚙️ Update theme to support Hugo v0.121.1 2023-12-14 12:08:04 +00:00
CONTRIBUTING.md updated docs for v1 and polished some minor fixes across the code 2022-09-13 00:49:15 +01:00
firebase.json Merge branch 'dev' into main 2022-12-30 15:28:33 +00:00
FUNDING.yml add funding.yml 2023-07-20 21:22:41 +01:00
go.mod Update go.mod 2022-10-18 21:57:44 +01:00
LICENSE add licence 2022-09-10 19:21:28 +01:00
lighthouserc.js initial commit 2022-09-10 20:05:37 +01:00
logo.png add logo 2022-09-10 19:18:20 +01:00
netlify.toml upgraded hugo version 2022-09-26 22:10:03 +01:00
package-lock.json Merge pull request #1116 from nunocoracao/dependabot/npm_and_yarn/dev/prettier-3.1.1 2023-12-14 11:46:46 +00:00
package.json Merge pull request #1116 from nunocoracao/dependabot/npm_and_yarn/dev/prettier-3.1.1 2023-12-14 11:46:46 +00:00
processUsers.js user list generation and version bump 2023-10-15 18:48:20 +01:00
README.md updated readme 2023-04-29 16:45:18 +01:00
tailwind.config.js 🐛 Links become white on hover in light theme 2023-05-08 22:24:36 +01:00
theme.toml update site references 2022-12-30 15:25:34 +00:00

Blowfish

Buy Me A Coffee

Deploy Production to Firebase Deploy Production to GitHub pages Minimum Hugo Version GitHub Blowfish code-size

Blowfish is designed to be a powerful, lightweight theme for Hugo. It's built using Tailwind CSS with a clean and minimalist design that prioritises to your content. The theme is a fork of Congo.

🌏 Demo site
📑 Theme documentation
💎 Merch Store
🐛 Bug reports & issues
💡 Questions & feature requests

blowfish logo

Features

  • Fully responsive layout built with Tailwind CSS 3.0
  • Multiple colour schemes (or fully customise your own)
  • Dark mode (forced on/off or auto-switching with user toggle)
  • Highly customisable configuration
  • Firebase integration to support dynamic data
  • Views count & like mechanism
  • Related articles
  • Multiple homepage layouts
  • Multiple authors
  • Series of articles
  • Flexible with any content types, taxonomies and menus
  • Header and footer menus
  • Nested menus & sub-navigation menu
  • Multilingual content support inlcuding support for RTL languages
  • Ability to link to posts on third-party websites
  • Support for several shortcodes like Gallery, Timeline, GitHub cards, and Carousels
  • Buymeacoffee integration
  • Client-side site search powered by Fuse.js
  • Diagrams and visualisations using Mermaid
  • Charts using Chart.js
  • TypeIt integration
  • Mathematical notation using KaTeX
  • SVG icons from FontAwesome 6
  • Automatic image resizing using Hugo Pipes
  • Heading anchors, Tables of Contents, Code copy, Buttons, Badges and more
  • HTML and Emoji support in articles 🎉
  • SEO friendly with links for sharing to social media
  • Fathom Analytics and Google Analytics support
  • RSS feeds, Favicons and comments support
  • Advanced customisation using simple Tailwind colour definitions and styles
  • Optimised for performance and accessibility with perfect Lighthouse scores
  • Fully documented with regular updates

Documentation

Blowfish has extensive documentation that covers all aspects of the theme. Be sure to read the docs to learn more about how to use the theme and its features.


Installation

Blowfish supports several installation methods - as a git submodule, a Hugo Module, or as a completely manual install.

Detailed instructions for each method can be found in the Installation docs. You should consult the documentation for the simplest setup experience. Below is a quick start guide using submodules if you are using git, or Hugo modules if you're already confident installing Hugo themes.

Quick start using git submodules

Note: Ensure you have Git, Go, and Hugo installed, and that you have created a new Hugo project before proceeding.

  1. From your project directory, initialise git:

    git init
    
  2. Configure Blowfish as a git submodule:

    git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blowfish
    
  3. In the root folder of your website, delete the config.toml file that was generated by Hugo. Copy the *.toml config files from the theme into your config/_default/ folder.

    You will find these theme config files in the Hugo cache directory, or download a copy from GitHub.

  4. Follow the Getting Started instructions to configure your website.

Quick start using Hugo

Note: Ensure you have Go and Hugo installed, and that you have created a new Hugo project before proceeding.

  1. From your project directory, initialise Hugo Modules:

    hugo mod init github.com/<username>/<repo-name>
    
  2. Create config/_default/module.toml and add the following:

    [[imports]]
    path = "github.com/nunocoracao/blowfish/v2"
    
  3. Start your server using hugo server and the theme will be downloaded automatically.

  4. In the root folder of your website, delete the config.toml file that was generated by Hugo. Copy the *.toml config files from the theme into your config/_default/ folder.

    Note: Do not overwrite the module.toml file you created above!

    You will find these theme config files in the Hugo cache directory, or download a copy from GitHub.

  5. Follow the Getting Started instructions to configure your website.

Installing theme updates

As new releases are posted, you can update the theme using Hugo. Simply run hugo mod get -u from your project directory and the theme will automatically update to the latest release.

Detailed update instructions are available in the docs.


Contributing

Blowfish is expected to evolve over time. I intend to keep adding features and making changes as required.

Feel free to get in touch with any issues or suggestions for new features you'd like to see.

If you're able to fix a bug or implement a new feature, I welcome PRs for this purpose. Learn more in the contributing guidelines.


Stargazers over time

Stargazers over time

Mastodon