jedie

command module
v0.0.0-...-3949490 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2020 License: MIT Imports: 24 Imported by: 0

README

Jedie

GoDoc Go Report Card

     __       ___    
 __ / /__ ___/ (_)__
/ // / -_) _  / / -_)
L___/`__/`_,_/_/`__/

jedie - static site generator, jekyll replacement, in golang.

Install

Requirements
  • golang (of course!)
  • git
Install with go get
$ go get github.com/mattn/jedie
Or, Build after git clone

Get dependencies at first.

git clone https://github.com/mattn/jedie
cd jedie
go get github.com/flosch/pongo2
go get github.com/howeyc/fsnotify
go get github.com/russross/blackfriday
go get gopkg.in/yaml.v1
go build

Usage

At the first, create scaffold

$ mkdir /path/to/blog
$ jedie new /path/to/blog
$ cd /path/to/blog
$ vim _posts/2013-11-23-welcome-to-jedie.md
$ jedie build

Then, you can see your site is built in _site directory. If you want to serve your site with http server:

$ jedie serve

Configuration

name: Your New Jedie Site
description: You love golang, I love golang

For example, you can do your specified conversion like below.

conversion:
  js:
    ext: js
    command: minifyjs -m -i {{from}} -o {{to}}

Author

Yasuhiro Matsumoto (a.k.a mattn)

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL