-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for images in controlpanels.
Add preview link support. Add block types index.
- Loading branch information
1 parent
febd56a
commit 793f49c
Showing
21 changed files
with
420 additions
and
44 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"name": "@robgietema/nick-blog", | ||
"description": "Blog for Nick", | ||
"maintainers": [ | ||
{ | ||
"name": "Rob Gietema", | ||
"email": "[email protected]", | ||
"url": "https://robgietema.nl" | ||
} | ||
], | ||
"license": "MIT", | ||
"version": "0.0.1", | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:robgietema/nick.git" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/robgietema/nick/issues", | ||
"email": "[email protected]" | ||
}, | ||
"homepage": "https://nickcms.org", | ||
"keywords": [ | ||
"nick", | ||
"blog", | ||
"cms" | ||
], | ||
"engines": { | ||
"node": "^20" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"id": "@robgietema/nick-blog:default", | ||
"title": "Blog Default", | ||
"description": "Blog functionality of Nick", | ||
"version": 1000 | ||
} |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"id": "Author", | ||
"title:i18n": "Blog Author", | ||
"description:i18n": "A Blog Author", | ||
"global_allow": true, | ||
"filter_content_types": false, | ||
"allowed_content_types": [], | ||
"schema": { | ||
"behaviors": [ | ||
"dublin_core", | ||
"dates", | ||
"blocks", | ||
"versioning", | ||
"short_name", | ||
"id_from_title", | ||
"folderish", | ||
"exclude_from_nav", | ||
"preview_image_link" | ||
] | ||
}, | ||
"workflow": "simple_publication_workflow" | ||
} |
22 changes: 22 additions & 0 deletions
22
packages/nick-blog/src/profiles/default/types/blogfolder.json
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"id": "BlogFolder", | ||
"title:i18n": "Blog Folder", | ||
"description:i18n": "A folderish content item representing a Blog", | ||
"global_allow": true, | ||
"filter_content_types": true, | ||
"allowed_content_types": ["Page", "File", "Image", "Post"], | ||
"schema": { | ||
"behaviors": [ | ||
"dublin_core", | ||
"dates", | ||
"blocks", | ||
"versioning", | ||
"short_name", | ||
"id_from_title", | ||
"folderish", | ||
"exclude_from_nav", | ||
"preview_image_link" | ||
] | ||
}, | ||
"workflow": "simple_publication_workflow" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"id": "Post", | ||
"title:i18n": "Blog Post", | ||
"description:i18n": "A Blog Post", | ||
"global_allow": true, | ||
"filter_content_types": true, | ||
"allowed_content_types": ["File", "Image"], | ||
"schema": { | ||
"behaviors": [ | ||
"dublin_core", | ||
"dates", | ||
"blocks", | ||
"versioning", | ||
"short_name", | ||
"id_from_title", | ||
"folderish", | ||
"exclude_from_nav", | ||
"preview_image_link" | ||
] | ||
}, | ||
"workflow": "simple_publication_workflow" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"id": "BlogTag", | ||
"title:i18n": "Blog Tag", | ||
"description:i18n": "A Blog Tag", | ||
"global_allow": true, | ||
"filter_content_types": false, | ||
"allowed_content_types": [], | ||
"schema": { | ||
"behaviors": [ | ||
"dublin_core", | ||
"dates", | ||
"blocks", | ||
"versioning", | ||
"short_name", | ||
"id_from_title", | ||
"folderish", | ||
"exclude_from_nav", | ||
"preview_image_link" | ||
] | ||
}, | ||
"workflow": "simple_publication_workflow" | ||
} |
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
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
Oops, something went wrong.