1
0
Fork
You've already forked hugo-scripts
0
Collection of shell scripts for Hugo.
  • Shell 100%
iamyaash c66620743a chore: indendation changes to match with HUGO v0.147.5
Signed-off-by: iamyaash <iamyaash@noreply.codeberg.org>
2026年06月06日 12:43:56 +02:00
after-clone.sh chore: replace https clone link with ssh 2026年05月19日 14:02:47 +02:00
new-content.sh chore: indendation changes to match with HUGO v0.147.5 2026年06月06日 12:43:56 +02:00
README.md chore: README contents added for adding hugo-script as submodule 2025年09月26日 16:06:33 +05:30
theme-sync.sh feat: 3 scripts added 2025年09月26日 14:28:22 +05:30

hugo-scripts

Head inside your Hugo site project directory where you want to add the submodule:

cd hugo-site

  1. Add hugo-scripts as a Submodule

Add the hugo-scripts repository as a submodule with a shallow clone for faster download:

git submodule add --depth=1 https://codeberg.org/clforge/hugo-scripts.git scripts/

This will create a submodule directory inside your hugo-site project pointing to the hugo-scripts repository.


  1. Synchronize Submodule Configuration (Recommended)

To ensure your submodule configuration is correctly synchronized with the .gitmodules file, run:

# Sync submodules config (safety)
git submodule sync --recursive

  1. Initialize and Update Submodules

Download and initialize the submodule, including any nested submodules recursively:

# Initialize and update submodules
git submodule update --init --recursive