Lektor and Easystatic are both open source static site generators. Lektor is written in Python and Easystatic is written in JavaScript.
Property | Lektor | Easystatic |
---|---|---|
Language | Python | JavaScript |
Templates | Jinja2 | EJS |
License | BSD-3-Clause | Apache-2.0 |
Lektor is a static content management system that runs offline, written in Python.
Easystatic uses Markdown It for web pages, EJS and PostCSS + Autoprefixer for layout, Browsersync for cross-device testing...
$ npm install -g easystatic
$ es start <path>
...where <path>
is the folder with *.md
files, or an empty folder. For example:
$ es start mysite.com
This command launches your site in a browser and starts watching for modifications in source files
(<path>/*.md
, <path>/assets/*.*
).
Here is an example of how you can deploy your site to GitHub Pages:
$ es deploy mysite.com --repo=username/mysite.com --domain=mysite.com
For more info, please visit www.easystatic.com