mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 17:02:51 +08:00

* Adding social card infrastructure * Upgrades doc project to .NET 6 * Adds Playwright * Changes the console to a web project for Playwright * Adds social card template * Added blog content * Parallelized social image processing * Updating CI to use .NET 6 for docs build
15 lines
721 B
YAML
15 lines
721 B
YAML
ArchiveSources: => $"blog/posts/**/*"
|
|
ArchiveKey: Category
|
|
ArchiveKeyComparer: => StringComparer.OrdinalIgnoreCase.ToConvertingEqualityComparer()
|
|
ArchiveDestination: >
|
|
=> GetInt("Index") <= 1 ? $"blog/{NormalizedPath.OptimizeFileName(GetString("GroupKey"))}/index.html" : $"blog/{NormalizedPath.OptimizeFileName(GetString("GroupKey"))}/{GetInt("Index")}.html"
|
|
ArchivePageSize: => 5
|
|
ArchiveOrderKey: published
|
|
ArchiveOrderDescending: true
|
|
Title: Categories
|
|
ArchiveTitle: => GetString("GroupKey")
|
|
# we only show if we have a group key which means we are a category and not the index and also
|
|
# if we are the first page
|
|
Hidden: >
|
|
=> doc.GetString("GroupKey") != null && doc.GetInt("Index") <= 1 ? false : true
|
|
Order: 250 |