Skip to content

Commit cd42409

Browse files
Merge pull request #111 from netlify-templates/tb/wrfl-2054-update-templates-to-stackbit-7
updated models and stackbit.config.ts
2 parents 83f32dc + c5f374c commit cd42409

File tree

13 files changed

+18
-21
lines changed

13 files changed

+18
-21
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
/.pnp
66
.pnp.js
77

8-
# Netlify Create (formerly Stackbit)
9-
.sourcebit-nextjs-cache.json
8+
# Netlify Visual Editor (formerly Stackbit)
109
.stackbit/cache
1110
.cache
1211

content/data/footer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"type": "Link"
104104
}
105105
],
106-
"copyrightText": "Powered by [Netlify Create](https://www.netlify.com/platform/create/)",
106+
"copyrightText": "Powered by [Netlify](https://www.netlify.com/)\n",
107107
"colors": "bg-dark-fg-light",
108108
"type": "Footer"
109109
}

content/data/header.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
{
7474
"label": "Sign up",
7575
"altText": "Sign up",
76-
"url": "/",
76+
"url": "https://app.netlify.com/signup",
7777
"icon": "arrowRight",
7878
"iconPosition": "right",
7979
"style": "secondary",

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"dayjs": "^1.11.11",
1515
"front-matter": "^4.0.2",
1616
"glob": "^10.4.2",
17-
"markdown-to-jsx": "^7.4.7",
17+
"markdown-to-jsx": "^7.7.1",
1818
"marked": "^14.1.2",
1919
"next": "15.1.0",
2020
"react": "^19.0.0",

sources/local/models/Config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const Config: Model = {
66
label: 'Config',
77
labelField: 'titleSuffix',
88
singleInstance: true,
9-
readOnly: true,
9+
canDelete: true,
1010
filePath: 'content/data/site.json',
1111
fields: [
1212
{

sources/local/models/Footer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const Footer: Model = {
55
name: 'Footer',
66
label: 'Footer',
77
labelField: 'title',
8-
readOnly: true,
8+
canDelete: true,
99
filePath: 'content/data/{slug}.json',
1010
fieldGroups: [
1111
{

sources/local/models/Header.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const Header: Model = {
55
name: 'Header',
66
label: 'Header',
77
labelField: 'title',
8-
readOnly: true,
8+
canDelete: true,
99
filePath: 'content/data/{slug}.json',
1010
fieldGroups: [
1111
{

sources/local/models/PostFeedLayout.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const PostFeedLayout: Model = {
66
label: 'Blog',
77
labelField: 'title',
88
singleInstance: true,
9-
readOnly: true,
9+
canDelete: true,
1010
filePath: 'content/pages/blog/index.md',
1111
fieldGroups: [
1212
{

sources/local/models/ThemeStyle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const ThemeStyle: Model = {
66
label: 'Theme Style',
77
labelField: 'fontHeadlines',
88
singleInstance: true,
9-
readOnly: true,
9+
canDelete: true,
1010
filePath: 'content/data/style.json',
1111
fieldGroups: [
1212
{

0 commit comments

Comments
 (0)