↓ Skip to main content

Updated the blog's Blowfish theme to v3.10.0

·156 words·1 min
Table of Contents

Introduction
#

I have updated Hugo and the Blowfish theme used to build my blog, so I am documenting the steps here for future reference.

Before After
Hugo 0.158.0 0.162.0
Blowfish 2.104.0 3.10.0

Changes in Blowfish
#

The main changes in Blowfish from v2.104.0 to v3.10.0 are as follows:

  • Added a “floating glass” style to the header (v3.0.0)
  • Added a dropdown menu for mobile layout (v3.0.0)

The v3 is backward-compatible, allowing you to update directly from the v2.

How to update Blowfish
#

I manage the Blowfish theme using git submodule.

assets/
config/
content/
layouts/
themes/blowfish/   <- managed by git submodule
...

Run the following command in the project’s root directory to update the Blowfish theme.

git submodule update --remote --merge

Links #

Helve
Author
Helve
Japanese Engineer working for an electronics manufacturer

Related