mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-18 21:08:15 +08:00
Optimizing build
* 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
This commit is contained in:

committed by
Patrik Svensson

parent
8ae3d258e4
commit
899dd20b65
@ -1,9 +1,9 @@
|
||||
ArchiveSources: => $"blog/posts/**/*"
|
||||
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
|
||||
ArchivePageSize: 5
|
||||
ArchiveOrderKey: published
|
||||
ArchiveOrderDescending: true
|
||||
Title: Categories
|
||||
|
@ -1,8 +1,8 @@
|
||||
Title: Recent Blog Posts
|
||||
ArchiveSources: => $"blog/posts/**/*"
|
||||
ArchiveSources: blog/posts/**/*
|
||||
ArchiveDestination: >
|
||||
=> GetInt("Index") <= 1 ? $"blog/index.html" : $"blog/{GetInt("Index")}.html"
|
||||
ArchivePageSize: => 5
|
||||
ArchivePageSize: 5
|
||||
ArchiveOrderKey: Published
|
||||
ArchiveOrderDescending: true
|
||||
Hidden: >
|
||||
|
Reference in New Issue
Block a user