Skip to main content
Background Image

Installation

Table of Contents
Learn how to install and set up Blowfish theme for your Hugo website.

Prerequisites
#

Before installing Blowfish, make sure you have:

  • Hugo Extended version 0.87.0 or later
  • Git (for theme installation)
  • A text editor

Installation Methods
#

Method 1: Hugo Modules (Recommended)#

  1. Initialize your Hugo site as a module:

    hugo mod init github.com/username/my-website
    
  2. Add Blowfish to your hugo.toml:

    [module]
      [[module.imports]]
        path = "github.com/nunocoracao/blowfish"
    

Method 2: Git Submodule
#

  1. Add Blowfish as a submodule:

    git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blowfish
    
  2. Add the theme to your hugo.toml:

    theme = "blowfish"
    

Configuration
#

After installation, copy the configuration files from the theme to your site:

cp -r themes/blowfish/config/_default/* config/_default/

Next Steps
#

Once installed, you can:

  1. Configure your site
  2. Create your first content
  3. Customize the theme

No articles published here yet.