Sha256: 31e1cc269b52a4c36c4907437a64c412eb9a0364c4034be8ff856080eb54dc30
Contents?: true
Size: 1.69 KB
Versions: 1
Compression:
Stored size: 1.69 KB
Contents
NAME ---- ro TL;DR -------- <pre> ro ├── people │ ├── ara │ │ ├── assets │ │ │ ├── ara-glacier.jpg │ │ │ └── source │ │ │ └── a.rb │ │ ├── attributes.yml │ │ └── bio.md.erb │ └── noah │ └── attributes.yml └── posts ├── foobar ├── hello-world │ ├── attributes.yml │ └── body.md └── second-awesome-post ├── attributes.yml └── body.md </pre> ```ruby ro.people #=> all people nodes ro[:people] #=> same thing ro.people.ara #=> data for the person named 'ara' ro[:people][:ara] #=> same thing ro.people.ara.first_name #=> give you *one* guess ;-) ! ro.people.ara.url_for('ara-glacier.jpg') #=> external, timestamped, url for this asset ro.people.ara.source('a.rb') #=> syntax highlighted source yo! ro.posts.find('second-awesome-post').body #=> html-z yo ``` ```bash ### CHECK IT OUT! ~ > git clone https://github.com/ahoward/ro.git ~ > cd ro ~> ./bin/ro console ``` DESCRIPTION ----------- ro is library for managing your site's content in git, as god intended. it features: - super fast loading via a robust caching/promise strategy - *all* teh templates supported via tilt (https://github.com/rtomayko/tilt) - the awesomest markdown ever, with syntax highlighting and even erb evaluation - an awesome command line tool for introspecting your data (./ro console) INSTALL ------- gem install ro DOCS ---- RTFC
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ro-1.1.0 | README.md |