mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 19:35:28 -04:00
13 lines
483 B
Text
13 lines
483 B
Text
Inspired by ctemplate, Mustache is a framework-agnostic way to render
|
|
logic-free views.
|
|
|
|
As ctemplates says, "It emphasizes separating logic from presentation:
|
|
it is impossible to embed application logic in this template
|
|
language.
|
|
|
|
Think of Mustache as a replacement for your views. Instead of views
|
|
consisting of ERB or HAML with random helpers and arbitrary logic,
|
|
your views are broken into two parts: a Ruby class and an HTML
|
|
template.
|
|
|
|
WWW: https://github.com/mustache/mustache
|