Created
April 14, 2024 01:04
-
-
Save rlan/69bcbf311f4b52369d07ccfa7f049543 to your computer and use it in GitHub Desktop.
Script for a fresh installation of Blowfish-theme Hugo project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Script for a fresh installation of Blowfish-theme Hugo project | |
# Method: Hugo submodule | |
# Blowfish theme: https://blowfish.page/docs/installation/ | |
# | |
# Verified on: | |
# go version go1.22.2 darwin/arm64 | |
# hugo v0.124.1-db083b05f16c945fec04f745f0ca8640560cf1ec+extended darwin/arm64 BuildDate=2024-03-20T11:40:10Z VendorInfo=brew | |
# Blowfish v2.65.0 | |
# | |
go version | |
hugo version | |
hugo new site mywebsite | |
cd mywebsite | |
hugo mod init my-ebsite | |
mkdir -p config/_default/ | |
echo "[[imports]]" >> config/_default/module.toml | |
echo "path = \"github.com/nunocoracao/blowfish/v2\"" >> config/_default/module.toml | |
hugo server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment