Git Product home page Git Product logo

templates's Introduction

templates

Frakture Multimedia Templates

Frakture Templates are directories that contain a template.json file, and any supporting files, that define a multimedia format.

Sample Template: { // The standard Frakture Message type. email, blog, banner_ad, online_video, etc. "message_type":"email", // A css class indicating the icon to be used. Font-Awesome icons http://fontawesome.io/3.2.1/icons/ are commonly used "icon-class":"icon-at-sign", //Public label for this template "label":"Standard Email Template", // Configuration options for the message, covering all formats "configuration":{ "from_name":{"type":"string"}, "from_email":{"type":"string"} }, // 1 or more formats this message can be displayed as.
// This is NOT to be confused with separate content, or messages different segments, which should be in independent messages. // This is the same identical content, targets, and links, etc. optimized for different rendering engines. // For example, when reading email, you can read EITHER the text version, OR the HTML version, but not both. When viewing a video // on a smaller device, you might get a smaller copy of the file, which would be a different format. // "formats":[ { // Label for the format "label":"HTML" // (optional) engine to render content "render_engine":"hogan", // (optional) file to merge content into // Content will be merged by the render engine along the lines of // extend(format_config.defaults, bot.configuration, message.format[i].configuration), // "render_file":"index.html", // Configuration options specific to this format "configuration":{ "html":{"type":"wysiwyg"} } }, { "label":"Text", "help":"Emails are sent with both HTML and text formats, for mobile readers", "render_engine":"hogan", "render_file":"index.txt", "configuration":{ "text":{"type":"wysiwyg"} } } ] }

templates's People

Contributors

clundberg avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.