6
1
Fork
You've already forked spectrum-website
0
  • SCSS 53.8%
  • HTML 24.2%
  • JavaScript 18.9%
  • Nix 3.1%
sjaelv f5ec832fba
All checks were successful
Deploy Hugo site to Pages / build (push) Successful in 57s
Deploy Hugo site to Pages / deploy (push) Successful in 25s
content/en/crafting.md aktualisiert
2026年06月28日 19:44:11 +02:00
.forgejo/workflows
archetypes
assets
content content/en/crafting.md aktualisiert 2026年06月28日 19:44:11 +02:00
i18n
layouts
static
.editorconfig
.envrc
.gitignore
.woodpecker.yml
config.toml
flake.lock
flake.nix
LICENSE
README.md
shell.nix

The Spectrum Homepage

Getting started

Install Hugo

Mac OS

  • Install brew (for installing the rest): /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • Install go: brew install go
  • Install hugo: brew install hugo

For Windows/Linux

For Nix/NixOS

Just run nix-shell in this directory.

Pull Submodules (eg. Theme)

  • Initial pull submodule xhain-theme: git submodule update --init --recursive
  • Submodule update: git submodule foreach git pull origin master

Generate Site

  • Run hugo to generate HTML: hugo

  • Run hugo for local development:

    hugo server

    or

    hugo server -w --cleanDestinationDir

Content Editing

New Post

  • create new post (using archetypes):

    hugo new de/post/YYYY-MM-DD_title.de.md -k post

    or

    hugo new en/post/YYYY-MM-DD_title.en.md -k post

  • just edit new post in the "content"-folder

Credits

This site is based on the xHain homepage, go check it out! :3