Skip to content

Commit 456af3e

Browse files
committed
fixed section slugs + added custom pages section
1 parent b41ea06 commit 456af3e

6 files changed

+153
-45
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
fieldLayouts:
2+
e5b8089c-112f-4c73-b996-388723b0222c:
3+
tabs:
4+
-
5+
elements:
6+
-
7+
autocapitalize: true
8+
autocomplete: false
9+
autocorrect: true
10+
class: null
11+
disabled: false
12+
id: null
13+
instructions: null
14+
label: null
15+
max: null
16+
min: null
17+
name: null
18+
orientation: null
19+
placeholder: null
20+
readonly: false
21+
requirable: false
22+
size: null
23+
step: null
24+
tip: null
25+
title: null
26+
type: craft\fieldlayoutelements\EntryTitleField
27+
warning: null
28+
width: 100
29+
-
30+
fieldUid: d783368e-a494-4457-9e99-5a027ae72a18 # Page Header
31+
instructions: null
32+
label: null
33+
required: false
34+
tip: null
35+
type: craft\fieldlayoutelements\CustomField
36+
warning: null
37+
width: 100
38+
-
39+
fieldUid: 1d1d5665-5674-4388-8d46-9b87e4dc65d3 # Content Builder
40+
instructions: null
41+
label: null
42+
required: false
43+
tip: null
44+
type: craft\fieldlayoutelements\CustomField
45+
warning: null
46+
width: 100
47+
name: Content
48+
sortOrder: 1
49+
-
50+
elements:
51+
-
52+
fieldUid: 4184d945-e90d-4433-b1f3-727edf65107e # Summary Image
53+
instructions: null
54+
label: null
55+
required: false
56+
tip: null
57+
type: craft\fieldlayoutelements\CustomField
58+
warning: null
59+
width: 100
60+
-
61+
fieldUid: 39237593-ff51-4bd3-851a-a9dfac329c0b # Page Summary
62+
instructions: null
63+
label: null
64+
required: false
65+
tip: null
66+
type: craft\fieldlayoutelements\CustomField
67+
warning: null
68+
width: 100
69+
name: Summary
70+
sortOrder: 2
71+
-
72+
elements:
73+
-
74+
fieldUid: 7c5c4db7-bc5e-4979-a31b-6b7734989556 # SEO
75+
instructions: null
76+
label: null
77+
required: false
78+
tip: null
79+
type: craft\fieldlayoutelements\CustomField
80+
warning: null
81+
width: 100
82+
name: SEO
83+
sortOrder: 3
84+
handle: default
85+
hasTitleField: true
86+
name: Default
87+
section: c2e72f3c-fb9f-4c37-a442-ed5cdea1f393 # Custom Pages
88+
sortOrder: 1
89+
titleFormat: null
90+
titleTranslationKeyFormat: null
91+
titleTranslationMethod: site

config/project/project.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
dateModified: 1648631874
1+
dateModified: 1648639543
22
email:
33
fromEmail: [email protected]
44
fromName: $SITE_NAME
@@ -74,6 +74,7 @@ meta:
7474
bb3731df-a01f-4725-9f8b-06d99359fd9f: 'Top Spacing' # Top Spacing
7575
bd1a9dd9-c492-4932-ad06-98c72a16cfd8: 'Button Title' # Button Title
7676
c01ae0b2-724f-499b-b0f2-ff2b6fe171a4: 'Footer Disclaimer' # Footer Disclaimer
77+
c2e72f3c-fb9f-4c37-a442-ed5cdea1f393: 'Custom Pages' # Custom Pages
7778
c4480af9-afa8-430b-b22c-e0eddbe00de3: 'Map Coordinates' # Map Coordinates
7879
d9a8f905-7705-41f9-a662-e8966f03085f: Longitude # Longitude
7980
d9aafe6e-671c-45da-9958-ccb6470336d6: 'Alt Icon' # Alt Icon
@@ -88,6 +89,7 @@ meta:
8889
ead943da-9146-4b32-9f33-8096b522e085: 'External Video' # External Video
8990
eb7f69a9-9a89-4024-ba3f-9154d28ac58c: Common # Common
9091
ecaf2e51-4a07-4d82-a78b-8181faba1e87: 'Image Slider' # Image Slider
92+
ed9d2994-c74c-40fe-9f3f-280fe7a5360a: Default # Default
9193
f1abfa1e-3f54-4765-8991-815c87484c9b: Contact # Contact
9294
f85e63c0-1f6c-495c-95b7-6b70d338bd07: Answer # Answer
9395
f99d20c5-6966-4180-8dc1-595df3b8f876: $SITE_NAME # $SITE_NAME

config/project/sections/about--b8e69404-8329-47fa-8f41-a98c933804c3.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ siteSettings:
88
enabledByDefault: true
99
hasUrls: true
1010
template: about/index
11-
uriFormat: about
11+
uriFormat: '{slug}'
1212
type: single

config/project/sections/contact--f1abfa1e-3f54-4765-8991-815c87484c9b.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ siteSettings:
88
enabledByDefault: true
99
hasUrls: true
1010
template: contact/index
11-
uriFormat: contact
11+
uriFormat: '{slug}'
1212
type: single
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
defaultPlacement: end
2+
enableVersioning: true
3+
handle: customPages
4+
name: 'Custom Pages'
5+
propagationMethod: all
6+
siteSettings:
7+
18d78006-3985-4ea4-b620-67bae10d9c2d: # $SITE_NAME
8+
enabledByDefault: true
9+
hasUrls: true
10+
template: pages/_entry
11+
uriFormat: '{slug}'
12+
structure:
13+
maxLevels: null
14+
uid: a431c6e7-1793-473a-8b15-ac94a7c3f468
15+
type: structure

storage/setup-boilerplate/default_db.sql

+42-42
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)