Skip to content

Instantly share code, notes, and snippets.

@rudyrigot
Created March 28, 2014 22:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rudyrigot/9844202 to your computer and use it in GitHub Desktop.
Save rudyrigot/9844202 to your computer and use it in GitHub Desktop.
JSON mask for the "copy" content type in the front-end-only example
{
"About and footer" : {
"company_name" : {
"fieldset" : "Company's name",
"type" : "StructuredText",
"config" : {
"single" : "heading1"
}
},
"about_nav_label" : {
"fieldset" : "About's navigation label",
"type" : "StructuredText",
"config" : {
"single" : "paragraph"
}
},
"twitter" : {
"fieldset" : "Twitter account",
"type" : "Link",
"config" : {
"select" : "web"
}
},
"facebook" : {
"fieldset" : "Facebook account",
"type" : "Link",
"config" : {
"select" : "web"
}
},
"googleplus" : {
"fieldset" : "Google+ account",
"type" : "Link",
"config" : {
"select" : "web"
}
},
"dribbble" : {
"fieldset" : "Dribbble account",
"type" : "Link",
"config" : {
"select" : "web"
}
},
"linkedin" : {
"fieldset" : "LinkedIn account",
"type" : "Link",
"config" : {
"select" : "web"
}
}
},
"Services and process" : {
"services_nav_label" : {
"fieldset" : "Services' navigation label",
"type" : "StructuredText",
"config" : {
"single" : "paragraph"
}
},
"services_title" : {
"fieldset" : "Services title",
"type" : "StructuredText",
"config" : {
"single" : "heading2"
}
},
"services_lede" : {
"fieldset" : "Services lede",
"type" : "StructuredText",
"config" : {
"single" : "paragraph,strong,em,hyperlink"
}
},
"process_title" : {
"fieldset" : "Services title",
"type" : "StructuredText",
"config" : {
"single" : "heading2"
}
},
"process_lede" : {
"fieldset" : "Services lede",
"type" : "StructuredText",
"config" : {
"single" : "paragraph,strong,em,hyperlink"
}
}
},
"Team" : {
"team_nav_label" : {
"fieldset" : "Team's navigation's label",
"type" : "StructuredText",
"config" : {
"single" : "paragraph"
}
},
"team_title" : {
"fieldset" : "Team title",
"type" : "StructuredText",
"config" : {
"single" : "heading2"
}
},
"team_lede" : {
"fieldset" : "Team lede",
"type" : "StructuredText",
"config" : {
"single" : "paragraph,strong,em,hyperlink"
}
}
},
"Portfolio and clients" : {
"portfolio_nav_label" : {
"fieldset" : "Portfolio's navigation label",
"type" : "StructuredText",
"config" : {
"single" : "paragraph"
}
},
"portfolio_title" : {
"fieldset" : "Portfolio title",
"type" : "StructuredText",
"config" : {
"single" : "heading1"
}
},
"portfolio_lede" : {
"fieldset" : "Portfolio lede",
"type" : "StructuredText",
"config" : {
"single" : "paragraph,strong,em,hyperlink"
}
},
"clients_title" : {
"fieldset" : "Clients title",
"type" : "StructuredText",
"config" : {
"single" : "heading1"
}
},
"clients_lede" : {
"fieldset" : "Clients lede",
"type" : "StructuredText",
"config" : {
"single" : "paragraph,strong,em,hyperlink"
}
}
},
"Contact" : {
"contact_nav_label" : {
"fieldset" : "Contact's navigation label",
"type" : "StructuredText",
"config" : {
"single" : "paragraph"
}
},
"contact_title" : {
"fieldset" : "Contact title",
"type" : "StructuredText",
"config" : {
"single" : "heading1"
}
},
"contact_lede" : {
"fieldset" : "Contact lede",
"type" : "StructuredText",
"config" : {
"single" : "paragraph,strong,em,hyperlink"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment