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
I am in the middle of a very data-intensive project with 11ty.
Right now my workflow is:
Intake --> _data/nameofwebsitescraped/nameofwebsitescraped.js with API call
Treatment -->
/src/products/websites/nameofwebsitescraped/index.njk (list of all products from said website)
/src/products/websites/nameofwebsitescraped/categoryofproduct1/index.njk (pagination and specially using tags to then use Collections for sorting and listing)
/src/products/websites/nameofwebsitescraped/categoryofproduct1/11tydata.js (special data treatment using eleventyComputed according to each website particularity, including computing a standardized weight for sorting)
Now I'm thinking while the pagination gives me a great deal, it might not be the best thing for SEO as I don't have much room to insert content and certainly not custom content per product (unless I make yet another Global Data JSON/JS and a parametric ID for each product I can leverage if that makes sense).
Is there a way to create specific 11tydata files that affect only a certain Global Data file outside of subdirectories and pagination? Hmmm
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I am in the middle of a very data-intensive project with 11ty.
Right now my workflow is:
Intake --> _data/nameofwebsitescraped/nameofwebsitescraped.js with API call
Treatment -->
Now I'm thinking while the pagination gives me a great deal, it might not be the best thing for SEO as I don't have much room to insert content and certainly not custom content per product (unless I make yet another Global Data JSON/JS and a parametric ID for each product I can leverage if that makes sense).
Is there a way to create specific 11tydata files that affect only a certain Global Data file outside of subdirectories and pagination? Hmmm
Beta Was this translation helpful? Give feedback.
All reactions