Skip to content

Commit

Permalink
add theme content
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudlewis committed Apr 23, 2019
1 parent b20a8ad commit 8efcbab
Show file tree
Hide file tree
Showing 29 changed files with 28 additions and 1,117 deletions.
27 changes: 1 addition & 26 deletions custom_types/author.json
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,26 +1 @@
{
"Main" : {
"name" : {
"type" : "StructuredText",
"config" : {
"single" : "paragraph",
"label" : "Name"
}
},
"bio" : {
"type" : "StructuredText",
"config" : {
"single" : "paragraph",
"label" : "Bio"
}
},
"picture" : {
"type" : "Image",
"config" : {
"constraint" : { },
"thumbnails" : [ ],
"label" : "Picture"
}
}
}
}
{"Main":{"name":{"type":"StructuredText","config":{"single":"paragraph","label":"Name"}},"bio":{"type":"StructuredText","config":{"single":"paragraph","label":"Bio"}},"picture":{"type":"Image","config":{"constraint":{},"thumbnails":[],"label":"Picture"}}}}
80 changes: 1 addition & 79 deletions custom_types/blog_home.json
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,79 +1 @@
{
"SEO & Social" : {
"meta_title" : {
"type" : "StructuredText",
"config" : {
"single" : "heading1",
"label" : "Meta title",
"placeholder" : "Meta title"
}
},
"meta_description" : {
"type" : "StructuredText",
"config" : {
"single" : "paragraph",
"label" : "Meta description",
"placeholder" : "Meta description"
}
},
"canonical_url" : {
"type" : "StructuredText",
"config" : {
"label" : "Canonical URL",
"placeholder" : "Canonical URL"
}
},
"body1" : {
"type" : "Slices",
"fieldset" : "Slice zone",
"config" : {
"choices" : {
"twitter_card" : {
"type" : "Slice",
"fieldset" : "Twitter card",
"description" : "Fields you need to customize the Twitter Card",
"icon" : "adjust",
"display" : "list",
"non-repeat" : {
"card_title" : {
"type" : "Text",
"config" : {
"label" : "Title",
"placeholder" : "Title for Twitter"
}
},
"card_description" : {
"type" : "Text",
"config" : {
"label" : "Description",
"placeholder" : "Description for Twitter"
}
},
"card_image" : {
"type" : "Image",
"config" : {
"constraint" : {
"width" : 1200,
"height" : 630
},
"thumbnails" : [ ],
"label" : "Image"
}
}
},
"repeat" : { }
},
"facebook__open_graph_" : {
"type" : "Slice",
"fieldset" : "Facebook (Open Graph)",
"description" : "Fields to customize OG cards",
"icon" : "thumb_up",
"display" : "list",
"non-repeat" : { },
"repeat" : { }
}
}
}
}
}
}
{"SEO & Social":{"meta_title":{"type":"StructuredText","config":{"single":"heading1","label":"Meta title","placeholder":"Meta title"}},"meta_description":{"type":"StructuredText","config":{"single":"paragraph","label":"Meta description","placeholder":"Meta description"}},"canonical_url":{"type":"StructuredText","config":{"label":"Canonical URL","placeholder":"Canonical URL"}},"body1":{"type":"Slices","fieldset":"Slice zone","config":{"choices":{"twitter_card":{"type":"Slice","fieldset":"Twitter card","description":"Fields you need to customize the Twitter Card","icon":"adjust","display":"list","non-repeat":{"card_title":{"type":"Text","config":{"label":"Title","placeholder":"Title for Twitter"}},"card_description":{"type":"Text","config":{"label":"Description","placeholder":"Description for Twitter"}},"card_image":{"type":"Image","config":{"constraint":{"width":1200,"height":630},"thumbnails":[],"label":"Image"}}},"repeat":{}},"facebook__open_graph_":{"type":"Slice","fieldset":"Facebook (Open Graph)","description":"Fields to customize OG cards","icon":"thumb_up","display":"list","non-repeat":{},"repeat":{}}}}}}}
120 changes: 1 addition & 119 deletions custom_types/blog_post.json
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,119 +1 @@
{
"Main" : {
"title" : {
"type" : "StructuredText",
"config" : {
"single" : "heading1",
"label" : "Title"
}
},
"image" : {
"type" : "Image",
"config" : {
"constraint" : { },
"thumbnails" : [ ],
"label" : "Image"
}
},
"rich_content" : {
"type" : "StructuredText",
"config" : {
"multi" : "paragraph, heading2, strong, em, hyperlink, image",
"allowTargetBlank" : true,
"label" : "Rich content"
}
}
},
"SEO & Social" : {
"uid" : {
"type" : "UID",
"config" : {
"label" : "UID"
}
},
"meta_title" : {
"type" : "StructuredText",
"config" : {
"single" : "heading1",
"label" : "Meta title",
"placeholder" : "Meta title"
}
},
"meta_description" : {
"type" : "StructuredText",
"config" : {
"single" : "paragraph",
"label" : "Meta description",
"placeholder" : "Meta description"
}
},
"canonical_url" : {
"type" : "StructuredText",
"config" : {
"label" : "Canonical URL",
"placeholder" : "Canonical URL"
}
},
"author" : {
"type" : "Link",
"config" : {
"select" : "document",
"customtypes" : [ "author" ],
"label" : "Author",
"placeholder" : "Johnny McJohn"
}
},
"body1" : {
"type" : "Slices",
"fieldset" : "Slice zone",
"config" : {
"choices" : {
"twitter_card" : {
"type" : "Slice",
"fieldset" : "Twitter card",
"description" : "Fields you need to customize the Twitter Card",
"icon" : "adjust",
"display" : "list",
"non-repeat" : {
"card_title" : {
"type" : "Text",
"config" : {
"label" : "Title",
"placeholder" : "Title for Twitter"
}
},
"card_description" : {
"type" : "Text",
"config" : {
"label" : "Description",
"placeholder" : "Description for Twitter"
}
},
"card_image" : {
"type" : "Image",
"config" : {
"constraint" : {
"width" : 1200,
"height" : 630
},
"thumbnails" : [ ],
"label" : "Image"
}
}
},
"repeat" : { }
},
"facebook__open_graph_" : {
"type" : "Slice",
"fieldset" : "Facebook (Open Graph)",
"description" : "Fields to customize OG cards",
"icon" : "thumb_up",
"display" : "list",
"non-repeat" : { },
"repeat" : { }
}
}
}
}
}
}
{"Main":{"title":{"type":"StructuredText","config":{"single":"heading1","label":"Title"}},"image":{"type":"Image","config":{"constraint":{},"thumbnails":[],"label":"Image"}},"rich_content":{"type":"StructuredText","config":{"multi":"paragraph, heading2, strong, em, hyperlink, image","allowTargetBlank":true,"label":"Rich content"}}},"SEO & Social":{"uid":{"type":"UID","config":{"label":"UID"}},"meta_title":{"type":"StructuredText","config":{"single":"heading1","label":"Meta title","placeholder":"Meta title"}},"meta_description":{"type":"StructuredText","config":{"single":"paragraph","label":"Meta description","placeholder":"Meta description"}},"canonical_url":{"type":"StructuredText","config":{"label":"Canonical URL","placeholder":"Canonical URL"}},"author":{"type":"Link","config":{"select":"document","customtypes":["author"],"label":"Author","placeholder":"Johnny McJohn"}},"body1":{"type":"Slices","fieldset":"Slice zone","config":{"choices":{"twitter_card":{"type":"Slice","fieldset":"Twitter card","description":"Fields you need to customize the Twitter Card","icon":"adjust","display":"list","non-repeat":{"card_title":{"type":"Text","config":{"label":"Title","placeholder":"Title for Twitter"}},"card_description":{"type":"Text","config":{"label":"Description","placeholder":"Description for Twitter"}},"card_image":{"type":"Image","config":{"constraint":{"width":1200,"height":630},"thumbnails":[],"label":"Image"}}},"repeat":{}},"facebook__open_graph_":{"type":"Slice","fieldset":"Facebook (Open Graph)","description":"Fields to customize OG cards","icon":"thumb_up","display":"list","non-repeat":{},"repeat":{}}}}}}}
Loading

0 comments on commit 8efcbab

Please sign in to comment.