Giter Club home page Giter Club logo

jedie's Introduction

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

jedie's People

Contributors

atomaths avatar freeeve avatar mattn avatar msfm avatar novemberfoxtrot avatar supermomonga avatar taro-m avatar yuokada avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

jedie's Issues

Error when building

I get this error when I build one of my .md files -

jedie build
2019/10/23 22:09:49 jedie/_posts/2018-01-12-lite.md: [Error (where: parser) in <string> | Line 360 Col 32 near '.'] Expected either a number, string, keyword or identifier.

line 360 is this -

below) like this: `<a href="/{{.Title | slug}}.html">A Post</a>`.

Col 32 is the dot before "Title". Any thing come to mind??

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.