forked from pool/opensuse-hugo-image
This branch is 5 commits behind pool/opensuse-hugo-image:factory
OBS-URL: https://build.opensuse.org/request/show/1168581 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/opensuse-hugo-image?expand=0&rev=2
Hugo on openSUSE MicroOS, Tumbleweed or other container hosts
Hugo is one of the most popular open-source static site generators. With its amazing speed and flexibility, Hugo makes building websites fun again.
Usage
Pull the image:
podman pull registry.opensuse.org/opensuse/hugo
Create new Hugo site/blog:
podman run -p 1313:1313 -v $PWD/blog:/src -it registry.opensuse.org/opensuse/hugo new blog .
This will create Hugo site structure in $PWD/blog.
Start development server:
podman run -p 1313:1313 -v $PWD/blog:/src -it registry.opensuse.org/opensuse/hugo server
Development server will be available at http://localhost:1313/.
Build static site:
podman run -p 1313:1313 -v $PWD/blog:/src -it registry.opensuse.org/opensuse/hugo --gc -d public
The static site will be in $PWD/blog/public.
More Information
Description
Languages
XML
100%