-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update: added blank(new) template sample (#110)
Signed-off-by: Vinyl-Davyl <okononfuadavid@gmail.com>
- Loading branch information
1 parent
460922f
commit 5ee7ef5
Showing
2 changed files
with
23 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
const MODEL = `namespace hello@1.0.0 | ||
@template | ||
concept NewTemplate { | ||
o String exampleField | ||
}`; | ||
|
||
const TEMPLATE = `> This is a blank template for users to create their own content. | ||
### Welcome to your new template {{exampleField}}! | ||
You can add your content here. | ||
`; | ||
|
||
const DATA = { | ||
"$class": "hello@1.0.0.NewTemplate", | ||
"exampleField": "Your value here" | ||
}; | ||
|
||
const NAME = 'New (Blank)'; | ||
export { NAME, MODEL, DATA, TEMPLATE }; |
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