How this hugo instance was set up
hugo new site webnexus
cd webnexus/
git init
git submodule add https://github.com/panr/hugo-theme-terminal.git themes/terminal
echo "theme = 'terminal'" >> hugo.toml
hugo new content content/my-first-post.mdFurthermore, a new color scheme was created via https://panr.github.io/terminal-css/ and saved to themes/terminal/assets/css/terminal.css
This instance was deployed via Makefile as described by Jan Heuer here: https://www.jtheuer.de/posts/hetzner-hugo-makefile/
# Makefile for Hugo website
# Default target
all: build
# Build the Hugo site
build:
hugo
# Deploy the site to Hetzner via FTP
deploy: build
@echo "Deploying to Hetzner via SFTP..."
cd public && \
echo "put -r ." | \
sftp -i ~/.ssh/id_ed25519 ftp_user@www123.your-server.de:/public_html/
# Clean the public directory
clean:
rm -rf public/*
.PHONY: all build deploy clean