mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-04-22 01:46:42 +00:00
Renames: - github_repo → github_releases (back-compat kept) - github_source → github_sources (back-compat kept) - gitea_repo → gitea_releases (back-compat kept) New keys: - gitea_sources, gitlab_releases, gitlab_sources All keys now accept either owner/repo shorthand or full URLs: - github_releases = sharkdp/bat - github_releases = https://github.com/sharkdp/bat - gitea_releases = https://git.rootprojects.org/root/pathman Defaults: github → github.com, gitlab → gitlab.com. Gitea has no default (self-hosted only). Updated all 73 releases.conf files from github_repo to github_releases.
title, homepage, tagline
| title | homepage | tagline |
|---|---|---|
| Hugo Extended Edition | https://github.com/gohugoio/hugo | Hugo, but with libsass and WebP support. |
To update or switch versions, run webi hugo-extended@stable (or @v0.118.2,
@beta, etc).
Files
These are the files / directories that are created and/or modified with this install:
~/.config/envman/PATH.env
~/.local/opt/hugo-extended/
~/.local/bin/hugo
Cheat Sheet
Hugo Extended Edition sacrifices some of the portability and memory-safety of Go in order to include libsass and WebP support.
- libsass (as opposed to "dartsass" - a.k.a. sass)
- WebP encoding
If you DON'T need those, check out Hugo (Standard Edition).
How to Switch Between Editions
If you've installed hugo and hugo-extended with Webi, you can switch easily:
webi hugo
switched to 'hugo v0.118.2':
/Users/aj/.local/bin/hugo => /Users/aj/.local/opt/hugo-v0.118.2/bin/hugo
webi hugo-extended
switched to 'hugo v0.118.2':
/home/me/.local/bin/hugo => /home/me/.local/opt/hugo-extended-v0.118.2/bin/hugo
Why NOT Use Extended Edition?
The Standard Edition is written and compiled with Go, which means it's binaries:
- work on all OSes and architectures Go supports (musl, arm, BSD, etc)
- are more secure against attacks (Go is memory-safe, C languages are not)
- slightly smaller file size (but... it doesn't really matter)
Hugo Quick Start & Tips
See the Hugo Cheat Sheet. See the Hugo Cheat Sheet.