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
This is tied to the goal of shifting Bookshop toward adapting to your existing components/includes/partials, rather than enforcing a strict naming convention.
Goal:
Currently, a Bookshop name of hero strictly means components/hero/hero.<template>. While this should still be supported (and encouraged), we want this name to also use of components/hero.<template>.
High level change:
The "Bookshop name" should be defined as the path to a component template, excluding the extension, with the parent folder removed if it matched the component name.
Jobs:
Hugo engine: Check for components/hero.hugo.html if the nested file does not exist
Jekyll engine: Check for components/hero.jekyll.html if the nested file does not exist
Eleventy engine: Check for components/hero.eleventy.liquid if the nested file does not exist
Svelte engine: Check for components/hero.svelte if the nested file does not exist
Astro engine: Check for components/hero.* if the nested file does not exist
Generate: Generate keys using the path to the file rather than the path to the parent directory, with the trailing key deduplicated
Browser: Probably something
General: Ensure matching logic is applied for resolving the Bookshop config files, allowing them to be placed as siblings
The text was updated successfully, but these errors were encountered:
This is tied to the goal of shifting Bookshop toward adapting to your existing components/includes/partials, rather than enforcing a strict naming convention.
Goal:
Currently, a Bookshop name of
hero
strictly meanscomponents/hero/hero.<template>
. While this should still be supported (and encouraged), we want this name to also use ofcomponents/hero.<template>
.High level change:
The "Bookshop name" should be defined as the path to a component template, excluding the extension, with the parent folder removed if it matched the component name.
Jobs:
components/hero.hugo.html
if the nested file does not existcomponents/hero.jekyll.html
if the nested file does not existcomponents/hero.eleventy.liquid
if the nested file does not existcomponents/hero.svelte
if the nested file does not existcomponents/hero.*
if the nested file does not existThe text was updated successfully, but these errors were encountered: