doorkeeper / semi_static

A simple text-file based CMS for Rails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SemiStatic: A simple text-file based CMS for Rails

In our internal projects, such as Doorkeeper, we have had the need to generate lots of text content, such as news entries or FAQ pages. SemiStatic provides you with an easy way to manage such content.

Usage

Gemfile

gem 'semi_static'

config/routes.rb

semi_static_for :article

app/models/article.rb

class Article < SemiStatic::News
end

semi_static_pages/news/foo.md

title: This is the title
slug: this-is-a-slug
published_at: 2013-01-31
...
This is the body.

About

A simple text-file based CMS for Rails

License:MIT License


Languages

Language:Ruby 92.7%Language:HTML 7.3%