ssg-api
Advanced tools
Changelog
[1.2.11] - 2022-12-03
DomReplaceCommand.postExecute()
can be overriden to execute some operation after some given replacements have been performed.Changelog
[1.2.10] - 2022-11-27
SsgContext.document
and SsgContext.serialize()
to avoid using deprecated JSDOM-dependent SsgContext.dom
.Changelog
[1.2.9] - 2022-11-27
push()
and pop()
, reflected in logs.Changelog
[1.2.8] - 2022-11-20
ContentStep.processFile
visibility from private
to protected
to allow more fine-tuned specialization.Changelog
[1.2.7] - 2022-11-16
Logger.name
is the context name to be displayed before a log.SsgContext.logger
is the logger object used to perform context.logs. DefaultLogger
will be used by SsgContextImpl
unless another Logger
implementation is provided at construction.context.name
will change context's logger's name as well.Changelog
[1.2.6] - 2022-11-13
SsgFileLang.variants
can contain ""
if there is the same file is found without language suffix.Changelog
[1.2.4] - 2022-11-13
SsgFile.lang.variants
don't include current SsgFile.lang.lang