Statiq Web is a flexible static site generator written in .NET.
OTHER License
Bot releases are visible (Hide)
Published by daveaglick over 3 years ago
Published by daveaglick almost 4 years ago
ResetCache()
method to the REPL to force a cache reset on the next execution (#936).Published by daveaglick almost 4 years ago
<html>
tag, and are not applied if it does (#934).SetDefaultLayoutTemplate()
bootstrapper extension to change the layout engine applied to HTML fragments to an existing one (if the default of Razor is not wanted).SetDefaultLayoutModule()
bootstrapper extension to change the layout engine applied to HTML fragments to a new module (if the default of Razor is not wanted).Published by daveaglick almost 4 years ago
.html
files are no longer processed by a layout engine like Razor, instead use .fhtml
(HTML fragment) to indicate the file should be processed (#933).Published by daveaglick almost 4 years ago
ProcessTiming
enum.WatchPaths
setting that adds additional folders to watch in preview mode (#930).ProcessTiming.Initialization
setting to start a process before all others (#932).Published by daveaglick almost 4 years ago
interactive
command that provides a REPL (read-eval-print prompt) after execution, useful for inspecting the state of the engine and debugging the generation.preview
command.Published by daveaglick almost 4 years ago
Published by daveaglick almost 4 years ago
LinkRoot
settings.Published by daveaglick almost 4 years ago
LinkRoot
setting.Published by daveaglick almost 4 years ago
Published by daveaglick almost 4 years ago
ValidateAbsoluteLinks
and ValidateRelativeLinks
analyzers.Published by daveaglick about 4 years ago
ValidateAbsoluteLinks
, ValidateRelativeLinks
, and ValidateLinksAsError
settings in favor of the new analyzers.Analyzers: ValidateAbsoluteLinks=Error
in your configuration file (or bootstrapper, etc.)ValidateAbsoluteLinks
and ValidateRelativeLinks
analyzers (replaces the ValidateLinks
pipeline).ValidateLinks
pipeline.AnalyzeContent
pipeline.HtmlAnalyzer
and SyncHtmlAnalyzer
classes for analyzing HTML content.Bootstrapper.AnalyzeHtml()
extensions for defining delegate-based HTML analyzers.PreviewCommand
and ServeCommand
in Statiq.Web.Hosting public so you can call IBootstrapper.AddCommand<PreviewCommand>()
directly without Statiq.Web.Published by daveaglick about 4 years ago
Published by daveaglick about 4 years ago
MarkdownAnalyzer
and SyncMarkdownAnalyzer
.Bootstrapper.AnalyzeMarkdown()
extensions for defining delegate-based Markdown analyzers.Published by daveaglick about 4 years ago
Published by daveaglick about 4 years ago
IBootstrapper.SetDefaultTemplate()
extension given more general use of templates. The "default" template should now be specifiedAssetFiles
, DataFiles
, and ContentFiles
settings and replaced with a single InputFiles
setting for finding all input files._redirects
file), you will need to explicitly add those to the InputFiles
patterns.AddSetting(WebKeys.InputFiles, new [] { "**/{!_,}*", "_redirects" })
.ClearDataContent
document setting that clears content from data documents (for example, to support passing the data file to layouts)..AddSetting(WebKeys.ClearDataContent, true)
to clear the content of all data files.Process
and PostProcess
phases for each.ContentType
document setting to override the calculated pipeline and processing for a document (values are Asset
, Data
, and Content
).ContentType
of a file named "foo.json" to Asset
will treat the file as an asset and will not process it's content as data.MediaType
document setting to override the media type calculated from the file extension.RemoveScriptExtension
document setting that will convert script file names like "foo.json.csx" to "foo.json" and reset their media types so the script output can be seamlesslyData
pipeline while "foo.md.csx" will get processed by the Content
pipeline).true
.Isolated
flag from the Assets
pipeline so the set of copied assets can be retrieved from other pipelines (I.e. to generate a list of images in a directory)..csx
or .cs
) to the Archive
pipeline (I.e. to generate JSON APIs from a collection of documents or data).Script
document setting that will treat a file as a C# script, even if the extension is not .cs
or .csx
.Inputs
pipeline that consolidates directory metadata, sidecar, and front matter parsing and supports evaluating scripts with a .csx
or .cs
extension.Statiq.Web.Templates
project with a Statiq Web templates for the dotnet new
CLI command (#915, thanks @devlead).Published by daveaglick about 4 years ago
Content
pipeline no longer creates any metadata-based tree structure (I.e. the metadata key Children
is no longer set). Instead, considerOutputs
such as Outputs.GetChildren(doc)
or the new OutputPages
property (see the Statiq Framework 1.0.0-beta.20 release notes for more details).MinimumStatiqWebVersion
key to perform a check for the minimum allowed version of Statiq Web. If this is set to something higher than the current versionMinimumStatiqWebVersion-MySite
). While not required or typically necessary for sites,MinimumStatiqWebVersion-CleanBlog
).Published by daveaglick about 4 years ago
AssetFiles
settings to configure the globbing patterns used for copying assets.Published by daveaglick about 4 years ago
Content
pipeline no longer nests output documents and instead all documents are now output.IEnumerable<IDocument>.FilterDestinations("*.html")
or Outputs["*.html"]
can be used to get "root" documents.MakeLinksAbsolute
setting to rewrite relative links to be absolute.MakeLinksRootRelative
setting to rewrite relative links to be root-relative.CacheDocuments
module to additional pipelines for faster rebuild times.ArchiveKeyComparer
metadata that allows specifying a specific comparer for use with archive groups (usually with script metadata).Published
value, either from an existing value or from the file name or modified date.PublishedUsesLastModifiedDate
setting to control whether a file modified date should be used for getting published dates.settings
as a default settings file name in themes (with support for JSON, YAML, or XML formats).themesettings
and statiq
YAML (.yml
and .yaml
) and XML (.xml
) configuration files in themes.Published by daveaglick over 4 years ago