Skip to content

Graphics blog mod #213

@hobbes7878

Description

@hobbes7878

Let's add a mod that converts a project to a graphics blog.

  • Add to mods CLI.
    • Ideally, this would be another option for changing project type, but whereas embed-only or pages+ are reversible, updating to a graphics blog would not be and we should thereafter remove those options from the CLI.
    • User MUST have created a RNGS.io storyboard during project setup to use this mod.
  • Update RNGS.io docs:
    • Remove content.json from locales/en/ and rngs-io.json
    • Optionally, delete page-en story from RNGS.io (requires update to rngs-io-client)
    • Create over page story from blog-page template
    • Create first post from blog-post template
  • Update npm scripts in package.json
    • Add script to create additional posts from blog-post template.
    • Remove stories:new, stories:connect, stories:live, get-google, lock-google (will be RNGS.io-only)
  • Changes to pages/:
    • +layout.ts (replace)
    • +layout.svelte (replace)
    • +page.svelte (replace)
    • embeds/en/page/+page.svelte (remove)
    • [date]/[slug]/+page.ts (add)
    • [date]/[slug]/+page.svelte (add)
  • Changes to src/lib/:
    • App.svelte (remove)
    • Post.svelte (add)
    • components/Post/... (add)
    • components/TableOfContents/... (add)
    • styles/global.scss (replace)
  • Add docs.

Metadata

Metadata

Assignees

Labels

No labels
No labels
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions