-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update blueprint stubs to use sections
- Loading branch information
Showing
12 changed files
with
1,220 additions
and
1,094 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,59 @@ | ||
title: {{ collection_name }} | ||
sections: | ||
tabs: | ||
main: | ||
display: Main | ||
fields: | ||
sections: | ||
- | ||
handle: title | ||
field: | ||
type: text | ||
required: true | ||
input_type: text | ||
localizable: true | ||
listable: true | ||
display: Title | ||
validate: | ||
- required | ||
display: General | ||
fields: | ||
- | ||
handle: title | ||
field: | ||
type: text | ||
required: true | ||
input_type: text | ||
localizable: true | ||
listable: true | ||
display: Title | ||
validate: | ||
- required | ||
- | ||
import: page_builder | ||
display: 'Page builder' | ||
instructions: 'Build your page by using various predefined content models.' | ||
fields: | ||
- | ||
import: page_builder | ||
sidebar: | ||
display: Sidebar | ||
fields: | ||
sections: | ||
- | ||
handle: meta | ||
field: | ||
type: section | ||
instructions: 'This entry''s meta data.' | ||
display: Meta | ||
- | ||
handle: slug | ||
field: | ||
type: slug | ||
required: true | ||
localizable: true | ||
generate: true | ||
listable: hidden | ||
display: Slug | ||
validate: | ||
- required | ||
- | ||
handle: date | ||
field: | ||
type: date | ||
listable: true | ||
required: true | ||
validate: | ||
- required | ||
display: Date | ||
mode: single | ||
time_enabled: false | ||
time_required: false | ||
earliest_date: '2021-01-01' | ||
full_width: false | ||
inline: false | ||
columns: 1 | ||
rows: 1 | ||
display: Meta | ||
instructions: "This entry's meta data." | ||
fields: | ||
- | ||
handle: slug | ||
field: | ||
type: slug | ||
localizable: true | ||
generate: true | ||
listable: hidden | ||
display: Slug | ||
validate: | ||
- required | ||
- | ||
handle: date | ||
field: | ||
type: date | ||
listable: true | ||
required: true | ||
validate: | ||
- required | ||
display: Date | ||
mode: single | ||
time_enabled: false | ||
time_required: false | ||
earliest_date: '2021-01-01' | ||
full_width: false | ||
inline: false | ||
columns: 1 | ||
rows: 1 |
98 changes: 51 additions & 47 deletions
98
resources/stubs/collection_blueprint_private_dated.yaml.stub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,59 @@ | ||
title: {{ collection_name }} | ||
sections: | ||
tabs: | ||
main: | ||
display: Main | ||
fields: | ||
sections: | ||
- | ||
handle: title | ||
field: | ||
type: text | ||
required: true | ||
input_type: text | ||
localizable: true | ||
listable: true | ||
display: Title | ||
validate: | ||
- required | ||
display: General | ||
fields: | ||
- | ||
handle: title | ||
field: | ||
type: text | ||
required: true | ||
input_type: text | ||
localizable: true | ||
listable: true | ||
display: Title | ||
validate: | ||
- required | ||
- | ||
import: page_builder | ||
display: 'Page builder' | ||
instructions: 'Build your page by using various predefined content models.' | ||
fields: | ||
- | ||
import: page_builder | ||
sidebar: | ||
display: Sidebar | ||
fields: | ||
sections: | ||
- | ||
handle: meta | ||
field: | ||
type: section | ||
instructions: 'This entry''s meta data.' | ||
display: Meta | ||
- | ||
handle: slug | ||
field: | ||
type: slug | ||
required: true | ||
localizable: true | ||
generate: true | ||
listable: hidden | ||
display: Slug | ||
validate: | ||
- required | ||
- | ||
handle: date | ||
field: | ||
type: date | ||
listable: true | ||
required: true | ||
validate: | ||
- required | ||
display: Date | ||
mode: single | ||
time_enabled: false | ||
time_required: false | ||
earliest_date: '2021-01-01' | ||
full_width: false | ||
inline: false | ||
columns: 1 | ||
rows: 1 | ||
display: Meta | ||
instructions: "This entry's meta data." | ||
fields: | ||
- | ||
handle: slug | ||
field: | ||
type: slug | ||
localizable: true | ||
generate: true | ||
listable: hidden | ||
display: Slug | ||
validate: | ||
- required | ||
- | ||
handle: date | ||
field: | ||
type: date | ||
listable: true | ||
required: true | ||
validate: | ||
- required | ||
display: Date | ||
mode: single | ||
time_enabled: false | ||
time_required: false | ||
earliest_date: '2021-01-01' | ||
full_width: false | ||
inline: false | ||
columns: 1 | ||
rows: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,75 @@ | ||
title: {{ collection_name }} | ||
sections: | ||
tabs: | ||
main: | ||
display: Main | ||
fields: | ||
- | ||
handle: title | ||
field: | ||
type: text | ||
required: true | ||
input_type: text | ||
localizable: true | ||
listable: true | ||
display: Title | ||
validate: | ||
- required | ||
- | ||
import: page_builder | ||
sections: | ||
- | ||
display: General | ||
fields: | ||
- | ||
handle: title | ||
field: | ||
type: text | ||
required: true | ||
input_type: text | ||
localizable: true | ||
listable: true | ||
display: Title | ||
validate: | ||
- required | ||
- | ||
display: 'Page builder' | ||
instructions: 'Build your page by using various predefined content models.' | ||
fields: | ||
- | ||
import: page_builder | ||
seo: | ||
display: SEO | ||
fields: | ||
sections: | ||
- | ||
display: Basic | ||
instructions: 'Basic SEO settings.' | ||
fields: | ||
- | ||
import: 'statamic-peak-seo::seo_basic' | ||
- | ||
display: Advanced | ||
instructions: 'Advanced SEO settings.' | ||
fields: | ||
- | ||
import: 'statamic-peak-seo::seo_advanced' | ||
- | ||
import: statamic-peak-seo::seo | ||
display: 'Open Graph' | ||
instructions: 'Open Graph meta tags for social sharing.' | ||
fields: | ||
- | ||
import: 'statamic-peak-seo::seo_open_graph' | ||
- | ||
display: Sitemap | ||
instructions: 'Sitemap configuration.' | ||
fields: | ||
- | ||
import: 'statamic-peak-seo::seo_sitemap' | ||
- | ||
display: 'JSON-ld Schema' | ||
instructions: 'Custom JSON-ld schema objects.' | ||
fields: | ||
- | ||
import: 'statamic-peak-seo::seo_jsonld' | ||
sidebar: | ||
display: Sidebar | ||
fields: | ||
- | ||
handle: meta | ||
field: | ||
type: section | ||
instructions: 'This entry''s meta data.' | ||
display: Meta | ||
- | ||
handle: slug | ||
field: | ||
type: slug | ||
required: true | ||
localizable: true | ||
generate: true | ||
listable: hidden | ||
display: Slug | ||
validate: | ||
- required | ||
sections: | ||
- | ||
display: Meta | ||
instructions: "This entry's meta data." | ||
fields: | ||
- | ||
handle: slug | ||
field: | ||
type: slug | ||
localizable: true | ||
generate: true | ||
listable: hidden | ||
display: Slug | ||
validate: | ||
- required |
Oops, something went wrong.