This repository has been archived by the owner on Mar 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
ianhomer/yaml
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Background ------------------------------------------------------------------------------- bemokoLive plugin that reads content from a Yaml file and makes it available for rendering in the UI templates. What Is YAML?: YAML is a human friendly data serialization standard for all programming languages. In otherwise a slightly technical, but clean data format (with less angular brackets than XML)- http://www.yaml.org/ Installation ------------------------------------------------------------------------------- * Drop yaml/YamlReader.groovy in the plugins folder of your site Usage ------------------------------------------------------------------------------- Define content source in your bemoko site <content-sources> <source name="yaml" plugin="yaml.YamlReader" scope="site"> <param name="filepath">data/content.yaml</param> </source> </content-sources> create the YAML file data/content.yaml and add some content in the YAML format and access content from the YAML file within a UI template like <h1>${content.yaml.home.title}</h1>
About
bemokoLive yaml plugin
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published