You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My requirements require me to have a directory with pure markdown files. I'm building a tool that is geared more towards non-developers. I'd like to avoid having this magical /src/layouts/index.sdfsf existing.
The text was updated successfully, but these errors were encountered:
Maybe you should log if a page doesn't have a layout? Why not always set "index" as the default, and let the cli barf when it tries to use the non-existent layout?
Either way, it isn't good to have imperative magic that depends on something seemingly so unrelated. At least at some logging around it, it would have save me a lot of time.
I am wrapping my theme/styles/pages/etc in a gatsby plugin.
Inside of my plugin, I create the default ``index``` layout.
My custom plugin is used, but only if a file matches
/src/layouts/index.*
exists, like/src/layouts/index.sdfwefw
.I think it may have something to do with this line:
gatsby/packages/gatsby/src/redux/actions.js
Line 244 in 6ac0eb9
My requirements require me to have a directory with pure markdown files. I'm building a tool that is geared more towards non-developers. I'd like to avoid having this magical
/src/layouts/index.sdfsf
existing.The text was updated successfully, but these errors were encountered: