LinuxCommandLibrary

jekyll

static site generator

TLDR

Create new site

$ jekyll new [site_name]
copy
Build site
$ jekyll build
copy
Serve locally
$ jekyll serve
copy
Serve with live reload
$ jekyll serve --livereload
copy
Build for production
$ JEKYLL_ENV=production jekyll build
copy
Build with drafts
$ jekyll serve --drafts
copy

SYNOPSIS

jekyll command [options]

DESCRIPTION

Jekyll is a static site generator. It transforms Markdown and Liquid templates into static HTML.
The tool powers GitHub Pages. It supports blogs, documentation, and custom sites with themes and plugins.

PARAMETERS

new NAME

Create new site.
build
Build site to _site/.
serve
Serve locally with auto-rebuild.
--livereload
Enable live browser reload.
--drafts
Include draft posts.
-d DIR
Destination directory.
--help
Display help information.

CAVEATS

Ruby-based. Plugin support varies on GitHub Pages. Large sites may build slowly.

HISTORY

Jekyll was created by Tom Preston-Werner in 2008 and became the engine behind GitHub Pages.

SEE ALSO

bundle(1), hugo(1), hexo(1), gatsby(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community