Hwaro Deploy to Pages
Version updated for https://github.com/hahwul/hwaro to version v0.13.0.
- This action is used across all versions by 9 repositories.
Action Type
This is a Composite action.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
Hwaro is a lightweight and high-performance static site generator written in Crystal that transforms Markdown content with front matter and Jinja2-compatible templates into fully built static websites. It automates tasks like parallel builds, incremental caching, SEO optimization, and deployment configuration for platforms such as GitHub Pages. Key features include advanced content management, customizable templates, built-in development tools (live reload, dev server), and support for modern web functionalities like PWA, AMP, and responsive image processing.
What’s Changed
v0.13.0
Added
- JSON front matter support and
hwaro tool convertfor TOML↔JSON / YAML↔JSON, plusfront_matter_format = "json"forhwaro new(#457) - Structured page index in
llms.txtper llmstxt.org spec (#506) - Nested
[extra.*]subtables in front matter (#476) and data subdirectories as nested iterable maps (#471) doctorwarns on missing config file paths (#505) and detects malformed front matter in content (#441)--cleanflag forhwaro initto wipe target before scaffolding (#402)- Ameba lint integration (#398)
Changed
- Preserve cause and page context in template errors; convert
ArgumentErroron attribute access to a labeledUndefinedError(#501) - Optimize Docker build caching and image size (#456)
help <command>now delegates to the command’s--help- Updated logo and CLI banner (#434)
Fixed
- Multilingual: hide lang-switcher and emit hreflang in sitemap (#508)
- Build: suppress “Build complete!” on render failures (#507); log summary when drafts are excluded (#415)
- Shortcodes: nested block placeholders (#502), inline
<code>opacity (#500), missing-shortcode HTML comment (#498), positional args (#496), unknown direct-call warnings (#412), HTML-comment placeholder to avoid stray<p>(#475) - Templates: populate pages/subsections in
get_section()(#499); dedupe identical errors across pages (#414) tool check-links/unused-assetsfalse positives (#504)page.summaryrendered to HTML, plain-text insearch.json(#503)- Authors taxonomy listing pages (#497)
- RFC 822
pubDateand TOML datetime literal in scaffolds (#494) - Preserve KaTeX inline delimiters past Markd parsing (#493)
- Flatten
[extra]subtable intopage.extra(#474) hwaro new: sanitize URL-unsafe path characters (#470), validate/normalize path (#425), keep path on-sconflict (#428), avoid double-wrapped bundles (#427), classify underHwaroErrortaxonomy (#426),--jsonpayload on successhwaro init: bare scaffold and--list-scaffoldsin--help(#467), scaffold-aware multilingual content (#401), validate languages and fail on empty remote (#399)toolerrors: usage classification (#469),tool export --helplists supported targets (#468)- Import: summarize unconverted constructs (#455), WordPress
<pubDate>and table conversion (#454), preserve categories as taxonomy (#453), Obsidian YAML array flattening (#452), error classification with--force(#451) - Doctor: narrow rescue and atomic write in
--fix(#442); exit non-zero on errors (#440) - Deploy: reject unknown placeholders in command templates (#435); classify failures under
HwaroError(#433) - Serve: ignore editor backup/swap files (#417); reorder banners behind successful bind (#416)
- Validate
base_urlscheme and host at load/CLI time (#413) - Restore trailing-whitespace strip in minifier and align help text (#410)
Full Changelog: https://github.com/hahwul/hwaro/compare/v0.12.1...v0.13.0