Releases: webpagine/pagine
Releases · webpagine/pagine
v2.4.3
v2.4.1
Changelog for v2.4.1
New features
- Multi-stage workflow
Builtin function update
strings
,path
: Added almost all functions from Go std library
Bugfixes
v2.2.0
Changelog for v2.2.0
Data format change
Change configuration and metadata serialization format from TOML to YAML.
Builtin functions
Improvement
- Template invoked by
applyFromEnv
can get itstemplateBase
and its metadata. - Template file invoked by
apply
can get itstemplateBase
.
New
Name | Description |
---|---|
applyCanonical |
Invoke template by canonical name. |
Bugfix
ebe8b16
: failedLevel
execution reportsRoot
field in nil
v2.1.2
Patch v2.1.2
Improvement
- Replace package
collection
withgithub.com/jellyterra/collection-go
v2.1.1
v2.1.0
Changelog for v2.1.0
Builtin functions
Templates are now able to:
- Apply/invoke other template by path via
apply
. - Get environment information via
getEnv
. - Get metadata root map node of namespace of the template via
getMetadata
.
v2.0.0
Changelog for v2.0.0
Features
- Parallel hierarchy processing and unit execution. Everything is executed in parallel from beginning to end.
- Hierarchical metadata propagation which makes metadata management easy.
- Manage templates and assets via Git. Every template can be distributed and used without modification.
- In-template builtin functions
- Interact with Pagine in templates.
- Update on file change while running as HTTP server.
Supported rich text formats:
- Markdown with MathJax/LaTeX support
- Asciidoc
v1.0.0
Changelog for v1.0.0
Page structure
New fields:
[templates]
Templates to be used in the page.
[contents]
Contents to be generated to HTML
[include]
Specify external data definitions files for templates.
[define]
Define data key/value pairs for templates.
Page are now able to:
- Use multiple templates.
- Specify multiple data files for each template use.
- Define data in
.pagine
for each template use.
v0.1.0
Changelog for v0.1.0
Site generator
- Invoke page generator for
*.pagine
files. - Copy all files except ignored or
*.pagine
files. - Relative path filter based on regular expression.
Page generator
- Individual text/HTML generation based on Go template.
- Match the corresponding content generator based on the content file name suffix.
Content source support
- Markdown
HTTP server
- Automatically fully generate on file change.
pagine.toml
ignore
field.
*.pagine
template
,[content]
,[data]
fields.