hmans / flutterby

A flexible, Ruby-powered static site generator.
http://www.flutterby.run
MIT License
57 stars 2 forks source link

Provide more convenient access to a node's data hash. #13

Closed hmans closed 7 years ago

hmans commented 7 years ago

For example, we could implement the index method so you can do node["title"] instead of node.data["title"]. Alternatively, add some magic so we can do node.data.title?

hmans commented 7 years ago

Pull Request: #21

hmans commented 7 years ago

Fixed in 9fb7aabb14f1fa413add260d855d00660413eda9