Theme updates
When your site is built on Axis, Coffer, or Astro Modular, Zeku can update the theme to its newest version, the way the theme’s own pnpm run update does, and carry your settings across.
Check for an update
Section titled “Check for an update”Zeku checks once a day when you open the site, and tells you when a new version is out. To check now, open Settings > Site and click Check now under Theme updates.
Update
Section titled “Update”Click Update to and the version. Zeku downloads the new version and shows what it changes before it writes anything:
- Your posts, pages, and images stay as they are.
- Your settings carry across into the new version’s
src/config.ts, and so do any custom content types you added. A setting the new version no longer has is listed. - A theme file you edited is merged with the new version when your changes and the theme’s don’t overlap. When they do, the theme’s version wins, and the preview lists the file. The commit before the update keeps your version.
- Dependencies you added to
package.jsonstay, and so does yourREADME.md.
Click Update to and the version again to apply it. Zeku stops the site preview, updates the theme’s files, installs dependencies, and builds the site. The update is committed only if the build passes.
Axis and Coffer need your license key. Zeku asks for it the first time and keeps it in your site’s .env, which git leaves out, where the theme’s own update script looks for it too.
Undo an update
Section titled “Undo an update”Until you publish, Settings > Site offers Undo update. Undo puts the theme’s files back as they were and leaves everything else you changed since alone. When the build fails, Zeku offers Undo right away.
Choose the theme
Section titled “Choose the theme”Zeku recognizes the theme from your package.json and the theme’s update script. If it picks the wrong one, or you don’t want update checks for a site, choose the theme or Off under Theme in Settings > Site. The choice is kept in the project’s .zeku/config.json, so it follows the site to other computers.