Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Example blog doesn't support local resources #1254

Open
@jcayzac

Description

If adding the following content to examples/react-app-blog/content/posts:

sixth-post/
  pic.png
  index.md # article content that references ![](./pic.png)
  1. The "latest posts" page lists both the article and a sixth-post/pic.png post.
    • I solved this by removing the phenomic entry in package.json and creating a phenomic.config.js file with:
      module.exports = {
        content: {
          content: {
            root: "content",
            globs: ["**/*.md"]
          },
        },
        presets: ["@phenomic/preset-react-app"],
      }
  2. The image is not copied anywhere.
  3. The image in the post is broken.

I feel like I'm missing something akin to gatsby-remark-copy-images and gatsby-remark-copy-linked-files, but not sure exactly what…

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions