Repository navigation
Releases: amitkaps/pagez
Releases · amitkaps/pagez
Release list
v0.2.1
Each page links its own style.css. A folder's style.css was lost whenever the root had one too.
What's Changed
Fixed
Documentation
Full Changelog: v0.2.0...v0.2.1
v0.2.0
data="…" is no longer special. An element imports its data in its build script, import rows from "./rows.json" with { type: "json" }, beside the element, and the page writes the element alone. A data attribute now reaches the template as a plain string.
pagez check lists what to fix in every page, and fails on a warning, so a site that built before may need blank lines around its element lines.
What's Changed
Breaking
Added
Fixed
- A mistake pages share fails once by @amitkaps in #54
- A template's refused value names its line by @amitkaps in #55
- A helper's html is always Pagez's own by @amitkaps in #57
- The report names an outside dist by its path by @amitkaps in #63
- pagez build prints the report alone by @amitkaps in #65
Faster and smaller
- A build reads the site once by @amitkaps in #52
- Pages share each element file's reading by @amitkaps in #53
- Errors carry their ids by @amitkaps in #60
- Speed and size, measured by @amitkaps in #62
Documentation
- Pagez stands on its own by @amitkaps in #45
- Docs follow craftz's rules by @amitkaps in #47
- Docs state each rule once, held to its tests by @amitkaps in #49
- The plan takes what a real site found by @amitkaps in #50
- Pagez writes redirects for Cloudflare, in the plan by @amitkaps in #51
Other
- Plan: 0.1.0, and stories on the site by @amitkaps in #26
- Elements: the docs move in, and the name goes by @amitkaps in #28
- The rest of the compiler by @amitkaps in #29
- One theme, and element CSS that wins by @amitkaps in #30
- Many pages, by folder by @amitkaps in #31
- Pages of a site by @amitkaps in #32
Full Changelog: v0.1.0...v0.2.0
v0.1.0
The first release: one Markdown page and the files beside it, built to dist/ with Vite.
pagez build|dev|preview [folder], andpagez()from@amitkaps/pagez/vitefor a folder with its own Vite config.- The page's head written from its frontmatter, a
frame.htmlaround it, and astyle.cssin place of Pagez's reset and prose, which are exported as@amitkaps/pagez/reset.cssandprose.css. - Every file the page, its frame and its CSS reference is checked, so a missing one fails the build at its line.
Not yet: elements, ${…}, and many pages.