This repository was archived by the owner on May 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
ottbot/sinatra-editable
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
sinatra-editable ================ A simple extension to edit mostly static partials. The extension adds a get and put to '/editable/*', and provides an editable() helper. For example: If you put to '/editable/about-us/bio' textile text in params[:content], the extension will write two files in in APP_ROOT/editable/about-us The extension will parse the textile and save in 'bio.html', saving the original text in 'bio.textile'. When you want to display the html, use the helper: editable("about-us/bio")
About
A simple CMS-like extension for sinatra
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published