mikafinja / gohugo-asciidoctor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gohugo-asciidoctor

gohugo-asciidoctor is a container to build static sites with hugo using asciidoc as markup language.

Usage

Environment

  • HUGO_GIT_REPOSITORY: Git repository containing the sources
  • HUGO_CONFIG_FILE: hugo config file - defaults to config.toml
  • HUGO_BASE_URL: hugo's baseURL - defaults to /

Example

docker run -v ~/my_rendered_blog:/build:rw -e "HUGO_GIT_REPOSITORY=https://git.example.com/repository.git" -e "HUGO_CONFIG_FILE=config.toml" -e "HUGO_BASE_URL=https://example.com/"

About


Languages

Language:Dockerfile 54.8%Language:Shell 45.2%