Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

[BUG] featured-image only works on index.md file #385

Open
DilemmaRabbit opened this issue Jan 23, 2022 · 0 comments
Open

[BUG] featured-image only works on index.md file #385

DilemmaRabbit opened this issue Jan 23, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@DilemmaRabbit
Copy link

DilemmaRabbit commented Jan 23, 2022

Hello, I'm trying to add featured-image for my post.
My content structure is like this

  • content
    • blogs
      • A.md
      • B.md
      • C.md
      • featured-image.jpg

I want to use featured-image.jpg for A,B,C

  - name: "featured-image"
    src: "featured-image.jpg"

This is what I add in my .md file.
But this is not work.

I notice that the file named with "index.md" will work perfectly(like example post).
Can I keep my old file name instead of index.md with featured-image?

@DilemmaRabbit DilemmaRabbit added the bug Something isn't working label Jan 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant