gethtmlpress 0.5.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gethtmlpress",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "description": "Turn a folder of HTML pages into a site: one layout, one theme, live reload, made for agents",
5
5
  "keywords": [
6
6
  "agents",
@@ -30,11 +30,11 @@
30
30
  "node": ">=20"
31
31
  },
32
32
  "optionalDependencies": {
33
- "@htmlpress/linux-x64": "0.5.1",
34
- "@htmlpress/linux-arm64": "0.5.1",
35
- "@htmlpress/darwin-x64": "0.5.1",
36
- "@htmlpress/darwin-arm64": "0.5.1",
37
- "@htmlpress/win32-x64": "0.5.1",
38
- "@htmlpress/win32-arm64": "0.5.1"
33
+ "@htmlpress/linux-x64": "0.6.0",
34
+ "@htmlpress/linux-arm64": "0.6.0",
35
+ "@htmlpress/darwin-x64": "0.6.0",
36
+ "@htmlpress/darwin-arm64": "0.6.0",
37
+ "@htmlpress/win32-x64": "0.6.0",
38
+ "@htmlpress/win32-arm64": "0.6.0"
39
39
  }
40
40
  }
@@ -68,7 +68,8 @@ upgrade it misses the new defaults: escape only what you change.
68
68
  `<htmlpress-skip>` at build time, every string in the page's language. The interactive ones,
69
69
  `<htmlpress-nav-toggle>`, `<htmlpress-search>`, `<htmlpress-theme-toggle>`, `<htmlpress-toc-bar>`
70
70
  (the phone's contents bar), `<htmlpress-shortcuts>` (the keyboard shortcuts menu, listing every key and disabling the ones no
71
- control on the page announces with `aria-keyshortcuts`) and `<htmlpress-back-to-top>`, run in the browser; the first three get their button at build time,
71
+ control on the page announces with `aria-keyshortcuts`, and `H`/`L` without the head's `<link rel="prev">`/`rel="next"`, which
72
+ `scripts/keys.js` follows across sections, from the home page on) and `<htmlpress-back-to-top>`, run in the browser; the first three get their button at build time,
72
73
  so the header is whole on its first frame. A head script sets `data-scripted` on `<html>`:
73
74
  without it those buttons stay hidden, so style anything that needs scripts under
74
75
  `:root[data-scripted]`. An element with nothing to show is removed. The theme toggle, the