Skip to content

Commit

Permalink
Merge pull request #298 from statikbe/195-make-the-slugs-of-singles-e…
Browse files Browse the repository at this point in the history
…ditable-by-content-manager

Make slugs for singles editable
  • Loading branch information
HannahDeWachter authored Apr 9, 2024
2 parents f78cc82 + 1aeb336 commit 6d33c7a
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ fieldLayouts:
handle: accessibilityStatement
hasTitleField: true
name: 'Accessibility Statement'
section: 99a435d2-9c12-4ef6-8b3b-2a9915d4216b
section: 99a435d2-9c12-4ef6-8b3b-2a9915d4216b # Accessibility Statement
showStatusField: true
slugTranslationKeyFormat: null
slugTranslationMethod: site
Expand Down
3 changes: 2 additions & 1 deletion config/project/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ elementSources:
- link
type: native
-
key: 'single:99a435d2-9c12-4ef6-8b3b-2a9915d4216b'
key: 'single:99a435d2-9c12-4ef6-8b3b-2a9915d4216b' # Accessibility Statement
type: native
-
disabled: false
Expand Down Expand Up @@ -298,6 +298,7 @@ meta:
89c47888-bddf-4633-9352-1d5dc3bb452f: Home # Home
95f49084-026d-4884-96b9-8b2fb5a00d3d: CTA # CTA
97e1c649-ce58-4388-bbc1-1f4e41d938b6: Link # Link
99a435d2-9c12-4ef6-8b3b-2a9915d4216b: 'Accessibility Statement' # Accessibility Statement
109f5d44-e366-49e7-826d-6b13de779861: News # News
131a4f6d-f00f-4238-b846-dd504bf669fe: Simple # Simple
0187d268-2643-4a0d-9cf9-b8847480bf9a: 'Confirm your account' # Confirm your account
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ siteSettings:
enabledByDefault: true
hasUrls: true
template: _site/_contentPage
uriFormat: toegankelijkheidsverklaring
uriFormat: '{slug}'
e57cf13b-f9cb-484a-8093-a897fa43eb68: # EN
enabledByDefault: true
hasUrls: true
template: _site/_contentPage
uriFormat: accessibility-statement
uriFormat: '{slug}'
fd2014b7-5bc0-49a9-ac30-e009081532f7: # FR
enabledByDefault: true
hasUrls: true
template: _site/_contentPage
uriFormat: declaration-accessibilite
uriFormat: '{slug}'
type: single
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ siteSettings:
enabledByDefault: true
hasUrls: true
template: _site/_contact
uriFormat: contact
uriFormat: '{slug}'
e57cf13b-f9cb-484a-8093-a897fa43eb68: # EN
enabledByDefault: true
hasUrls: true
template: _site/_contact
uriFormat: contact
uriFormat: '{slug}'
fd2014b7-5bc0-49a9-ac30-e009081532f7: # FR
enabledByDefault: true
hasUrls: true
template: _site/_contact
uriFormat: contact
uriFormat: '{slug}'
type: single
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ siteSettings:
enabledByDefault: true
hasUrls: true
template: _site/_contentPage
uriFormat: cookies
uriFormat: '{slug}'
e57cf13b-f9cb-484a-8093-a897fa43eb68: # EN
enabledByDefault: true
hasUrls: true
template: _site/_contentPage
uriFormat: cookies
uriFormat: '{slug}'
fd2014b7-5bc0-49a9-ac30-e009081532f7: # FR
enabledByDefault: true
hasUrls: true
template: _site/_contentPage
uriFormat: cookies
uriFormat: '{slug}'
type: single
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ siteSettings:
enabledByDefault: false
hasUrls: true
template: _site/_news/_entry
uriFormat: 'nieuws/{slug}'
uriFormat: '{{craft.entries.section(''newsOverview'').status(null).one().slug}}/{slug}'
e57cf13b-f9cb-484a-8093-a897fa43eb68: # EN
enabledByDefault: false
hasUrls: true
template: _site/_news/_entry
uriFormat: 'news/{slug}'
uriFormat: '{{craft.entries.section(''newsOverview'').status(null).one().slug}}/{slug}'
fd2014b7-5bc0-49a9-ac30-e009081532f7: # FR
enabledByDefault: false
hasUrls: true
template: _site/_news/_entry
uriFormat: 'news/{slug}'
uriFormat: '{{craft.entries.section(''newsOverview'').status(null).one().slug}}/{slug}'
type: channel
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ siteSettings:
enabledByDefault: true
hasUrls: true
template: _site/_news/_index
uriFormat: nieuws
uriFormat: '{slug}'
e57cf13b-f9cb-484a-8093-a897fa43eb68: # EN
enabledByDefault: true
hasUrls: true
template: _site/_news/_index
uriFormat: news
uriFormat: '{slug}'
fd2014b7-5bc0-49a9-ac30-e009081532f7: # FR
enabledByDefault: true
hasUrls: true
template: _site/_news/_index
uriFormat: news
uriFormat: '{slug}'
type: single
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ siteSettings:
enabledByDefault: true
hasUrls: true
template: _site/_contentPage
uriFormat: privacy
uriFormat: '{slug}'
e57cf13b-f9cb-484a-8093-a897fa43eb68: # EN
enabledByDefault: true
hasUrls: true
template: _site/_contentPage
uriFormat: privacy
uriFormat: '{slug}'
fd2014b7-5bc0-49a9-ac30-e009081532f7: # FR
enabledByDefault: true
hasUrls: true
template: _site/_contentPage
uriFormat: privacy
uriFormat: '{slug}'
type: single
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ permissions:
- 'deletepeerentrydrafts:5d236e94-b6a8-472c-9296-a5c992cdd49a' # Contact
- 'deletepeerentrydrafts:684ece64-c23a-4abf-9574-f2c053d496e8' # Register
- 'deletepeerentrydrafts:8e583282-1fec-4444-822f-37b2d5961f28' # Set Password
- 'deletepeerentrydrafts:99a435d2-9c12-4ef6-8b3b-2a9915d4216b'
- 'deletepeerentrydrafts:99a435d2-9c12-4ef6-8b3b-2a9915d4216b' # Accessibility Statement
- 'deletepeerentrydrafts:af69e9a2-96df-4fa9-8cc3-2728ec4fc632' # Edit password
- 'deletepeerentrydrafts:c2198cbb-f6e1-478a-ab4a-bbbaea43ce0e' # Privacy policy
- 'deletepeerentrydrafts:c25b1e19-dca6-4ab5-a776-a043f6ee4c82' # Login
Expand Down Expand Up @@ -79,7 +79,7 @@ permissions:
- 'saveentries:5d236e94-b6a8-472c-9296-a5c992cdd49a' # Contact
- 'saveentries:684ece64-c23a-4abf-9574-f2c053d496e8' # Register
- 'saveentries:8e583282-1fec-4444-822f-37b2d5961f28' # Set Password
- 'saveentries:99a435d2-9c12-4ef6-8b3b-2a9915d4216b'
- 'saveentries:99a435d2-9c12-4ef6-8b3b-2a9915d4216b' # Accessibility Statement
- 'saveentries:af69e9a2-96df-4fa9-8cc3-2728ec4fc632' # Edit password
- 'saveentries:c2198cbb-f6e1-478a-ab4a-bbbaea43ce0e' # Privacy policy
- 'saveentries:c25b1e19-dca6-4ab5-a776-a043f6ee4c82' # Login
Expand All @@ -104,7 +104,7 @@ permissions:
- 'savepeerentrydrafts:5d236e94-b6a8-472c-9296-a5c992cdd49a' # Contact
- 'savepeerentrydrafts:684ece64-c23a-4abf-9574-f2c053d496e8' # Register
- 'savepeerentrydrafts:8e583282-1fec-4444-822f-37b2d5961f28' # Set Password
- 'savepeerentrydrafts:99a435d2-9c12-4ef6-8b3b-2a9915d4216b'
- 'savepeerentrydrafts:99a435d2-9c12-4ef6-8b3b-2a9915d4216b' # Accessibility Statement
- 'savepeerentrydrafts:af69e9a2-96df-4fa9-8cc3-2728ec4fc632' # Edit password
- 'savepeerentrydrafts:c2198cbb-f6e1-478a-ab4a-bbbaea43ce0e' # Privacy policy
- 'savepeerentrydrafts:c25b1e19-dca6-4ab5-a776-a043f6ee4c82' # Login
Expand All @@ -129,7 +129,7 @@ permissions:
- 'viewentries:5d236e94-b6a8-472c-9296-a5c992cdd49a' # Contact
- 'viewentries:684ece64-c23a-4abf-9574-f2c053d496e8' # Register
- 'viewentries:8e583282-1fec-4444-822f-37b2d5961f28' # Set Password
- 'viewentries:99a435d2-9c12-4ef6-8b3b-2a9915d4216b'
- 'viewentries:99a435d2-9c12-4ef6-8b3b-2a9915d4216b' # Accessibility Statement
- 'viewentries:af69e9a2-96df-4fa9-8cc3-2728ec4fc632' # Edit password
- 'viewentries:c2198cbb-f6e1-478a-ab4a-bbbaea43ce0e' # Privacy policy
- 'viewentries:c25b1e19-dca6-4ab5-a776-a043f6ee4c82' # Login
Expand All @@ -154,7 +154,7 @@ permissions:
- 'viewpeerentrydrafts:5d236e94-b6a8-472c-9296-a5c992cdd49a' # Contact
- 'viewpeerentrydrafts:684ece64-c23a-4abf-9574-f2c053d496e8' # Register
- 'viewpeerentrydrafts:8e583282-1fec-4444-822f-37b2d5961f28' # Set Password
- 'viewpeerentrydrafts:99a435d2-9c12-4ef6-8b3b-2a9915d4216b'
- 'viewpeerentrydrafts:99a435d2-9c12-4ef6-8b3b-2a9915d4216b' # Accessibility Statement
- 'viewpeerentrydrafts:af69e9a2-96df-4fa9-8cc3-2728ec4fc632' # Edit password
- 'viewpeerentrydrafts:c2198cbb-f6e1-478a-ab4a-bbbaea43ce0e' # Privacy policy
- 'viewpeerentrydrafts:c25b1e19-dca6-4ab5-a776-a043f6ee4c82' # Login
Expand Down

0 comments on commit 6d33c7a

Please sign in to comment.