refactor: Standardize inventory data and naming conventions
This commit refactors the product inventory data to be a flat, single array. This design improves data versatility and scalability for various site functions. - Flattened the data structure for easier filtering and searching. - Atomized product attributes, such as `productNumber` and `skuID`. - Standardized variable and object key naming to `camelCase` and `UPPERCASE_SNAKE_CASE` for constants. - Added an `isFeatured` flag to products to enable dynamic content on the homepage. - Implemented a meta tag in the base template to control search engine indexing on a per-page basis.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: base.njk
|
||||
metaDesc: "Demo eCommerce website by Derek L. Seitz - dlseitz.dev"
|
||||
seoIndexing: false
|
||||
title: "Gallery - Bloom Valley Nursery Demo"
|
||||
stylesheet:
|
||||
- "/styles/variables.css"
|
||||
|
Reference in New Issue
Block a user