Repository is archived
No commit activity in last 3 years
No release in over 3 years
Usmu is a static site generator built in Ruby that leverages the Tilt API to support many different template engines. It supports local generation but is designed to be used with the web-based editor.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
~> 2.8
~> 0.9
~> 11.0
~> 3.1
~> 3.4
~> 2.0
~> 0.8

Runtime

~> 4.2
~> 2.1
~> 1.8
~> 3.0
~> 2.0
~> 1.6
~> 3.3
~> 3.0
~> 2.0
 Project Readme

usmu

Circle CI Dependency Status Code Climate

Source: https://github.com/usmu/usmu
Author: Matthew Scharley
Contributors: See contributors on GitHub
Bugs/Support: Github Issues
Copyright: 2016
License: MIT license
Status: Active

Synopsis

usmu is a static site generator intended to be used with the future Rails-based editing platform. It can also be used to generate locally if you don't wish to use the web-based editor.

Installation

$ gem install usmu

Usage

You can generate a new basic website using usmu init.

$ usmu init site-name

This will create a new site in the site-name folder. You can now use usmu generate to build the test site.

$ cd site-name
$ usmu generate

You can also use usmu serve to get a live server that you can use to test changes you make. This will not modify any files in your output folder but will instead dynamically generate and serve content directly from your files. Note, this is in no way secure and it is highly recommended to only deploy static versions of your website.

$ usmu serve

Compatibility

As a baseline usmu will pull in Slim for layouts and Redcarpet for content written in Markdown. However we use the Tilt API to render all layouts and content, therefore you should be able to use anything supported by Tilt including Sass, Less, Textile and many others, you just need to ensure you have the correct gems installed.

If you want to further configure the way your template's are processed then you can specify configurations for each template engine. Just add it to your usmu.yml:

slim:
  :pretty: true