Yann Esposito (Yogsototh)
||10 år sedan|
|README.md||10 år sedan|
|deepmergecore.rb||10 år sedan|
|mustache2tpl.pl||10 år sedan|
|yaml2dcr.rb||10 år sedan|
|yaml2dct.rb||10 år sedan|
mustache to Teamsite©
If like me you prefer to use mustache instead of the Teamsite CMS templating system.
These are three simple scripts to help you convert from mustache.
yaml2dct: generate a DCT from a yaml file
yaml2dcr: generate a DCR from a yaml file
mustache2tpl: generate a TPL from a mustache file
If you find this useful, just thank me!
yaml2dctdon't keep the yaml ordering. You'll certainly have to edit the DCT yourself.
yaml2dctDon't support many checkboxes, options, etc...
mustache2tpl, iterator must be at the end of the line and if statement must be on the same line in the mustache template.
Copyright © 2012 Yann Esposito
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.