-
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.
- Loading branch information
Showing
123 changed files
with
3,289 additions
and
3,036 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 @@ | ||
{} |
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 @@ | ||
{} |
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 @@ | ||
{} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"$schema": "https://frontmatter.codes/frontmatter.schema.json", | ||
"frontMatter.taxonomy.contentTypes": [ | ||
{ | ||
"name": "default", | ||
"pageBundle": false, | ||
"previewPath": null, | ||
"fields": [ | ||
{ | ||
"title": "Title", | ||
"name": "title", | ||
"type": "string" | ||
}, | ||
{ | ||
"title": "Description", | ||
"name": "description", | ||
"type": "string" | ||
}, | ||
{ | ||
"title": "Publishing date", | ||
"name": "date", | ||
"type": "datetime", | ||
"default": "{{now}}", | ||
"isPublishDate": true | ||
}, | ||
{ | ||
"title": "Content preview", | ||
"name": "preview", | ||
"type": "image" | ||
}, | ||
{ | ||
"title": "Is in draft", | ||
"name": "draft", | ||
"type": "draft" | ||
}, | ||
{ | ||
"title": "Tags", | ||
"name": "tags", | ||
"type": "tags" | ||
}, | ||
{ | ||
"title": "Categories", | ||
"name": "categories", | ||
"type": "categories" | ||
}, | ||
{ | ||
"title": "Author", | ||
"name": "author", | ||
"type": "string" | ||
} | ||
] | ||
} | ||
], | ||
"frontMatter.framework.id": "other", | ||
"frontMatter.content.publicFolder": "", | ||
"frontMatter.content.pageFolders": [ | ||
{ | ||
"title": "Blog", | ||
"path": "[[workspace]]/src/BlazeKit.Website/Content/Blog" | ||
}, | ||
{ | ||
"title": "News", | ||
"path": "[[workspace]]/src/BlazeKit.Website/Content/News" | ||
} | ||
] | ||
} |
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,10 @@ | ||
using System.Threading.Tasks; | ||
|
||
namespace BlazeKit.Abstraction; | ||
|
||
public interface IServerLoad<TResult> | ||
{ | ||
Task<TResult> LoadAsync(); | ||
|
||
TResult Load(); | ||
} |
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,12 @@ | ||
using Spectre.Console; | ||
|
||
namespace BlazeKit.CLI; | ||
|
||
public static class AnsiConsoleExtensions | ||
{ | ||
[System.Diagnostics.Conditional("DEBUG")] | ||
public static void Debug(this IAnsiConsole console, string message) | ||
{ | ||
console.MarkupLine($"[bold yellow on blue] DEBUG: {message.EscapeMarkup()}[/]"); | ||
} | ||
} |
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.