mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-15 00:12:50 +08:00

* Upgrades Statiq.Web to which contains analyzer perf improvements * Dropping script front matter when not needed from blog archives * Trimming down the number of files tailwind examines when building the css file to only a subset of the docs. * Updates Playwright to latest version * Updates tailwind and asciienma to latest * Removes npm packages that are no longer required
15 lines
712 B
YAML
15 lines
712 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 |