Repository navigation
feat(theme): the 0.6.2 blog starter's theme - #9
Merged
Merged
Conversation
The theme copy under src/ is now the blog starter that @cloudhal/cli 0.6.2 ships. It had stayed on an earlier starter while the pins moved: - Article.astro and strings.ts: typed fields as a "Details" list under the cover (RFC-0041 §9), with the words in en, tr and ja. - [...path].astro: content lists through contentListEntries (RFC-0042 field queries), collection feed links, structured data (withStructuredData) and entry fields. - [...path]/rss.xml.ts: collection feed paths (RFC-0042 §5). - tokens.css: body links no longer recolour surface buttons (.ch-richtext a:not(.ch-button)). The playground's own files stay as they were: src/playground/, astro.config.mjs, tsconfig.json, public/_headers, the favicons and the demo media. The replaced lines were all the earlier starter's; none were playground edits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Madraka <8898640+Madraka@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The theme copy under
src/now matches the blog starter that@cloudhal/cli0.6.2 ships. Until now the pins moved (try#8) but the theme stayed on an earlier starter. After this PR,diff -ragainstnode_modules/@cloudhal/cli/dist/assets/starters/blog/srcshows no differences apart fromsrc/playground/.src/components/Article.astro,src/strings.tssrc/pages/[...path].astrocontentListEntries(RFC-0042 field queries), collection feed links, structured data (withStructuredData), entry fieldssrc/pages/[...path]/rss.xml.tssrc/styles/features/tokens.css.ch-richtext a:not(.ch-button))Kept as they were (the playground's own):
src/playground/**,astro.config.mjs,tsconfig.json,public/_headers, the favicons,public/demo/andpublic/index.html. In the five files above, every replaced line came from the earlier starter; none were playground edits.Not deployed. Run
pnpm run deployafter merging when you want it live.Verified (locally)
pnpm checkpasses (Biome,astro sync+ TypeScript, 2 tests).pnpm buildpasses; its warnings are the same as the currentmainbuild's..ch-richtext a:not(.ch-button){color:var(--ch-color-link)}.wrangler devwith a new session:GET /api/sites/site_playgrounddemo/entriesreturns all 9 entries.wrangler devthe preview's cover image is blocked by the preview CSP,img-src https: data:, because localhost ishttp. On try.cloudhal.com the same preview loads it.🤖 Generated with Claude Code