Static HTML site generator built with mruby-cli
A simple, static, HTML site generator inspired by Jekyll.
git clone https://github.com/zzak/mruby-static
docker-compose run compile
mruby/build/<ARCH>/bin/mruby-static
)site.rb
file (See below).mruby-static post:new "The Title Of My Post"
mruby-static preview:run
This file is used to initialize Static and issue commands. For example:
Static.configure do |config|
config.site_name = "mruby-static"
config.root = "src/"
config.asset_dir = "assets/"
config.template_dir = "templates/"
end
Please see Static::Configuration
class for more config options.
mruby-static is released under the MIT License.