Convert site to Eleventy static site generator#1
Draft
stefan-burke wants to merge 1 commit into
Draft
Conversation
- Added multiple new JSON and JS data files for fonts, decorations, dietary indicators, image thumbnails, line styles, and text decorations. - Introduced site configuration files (_data/site.json, _data/site.mjs) with default settings and product data handling. - Added computed properties in eleventyComputed.mjs for header and meta titles. - Added body-classes.js to extract CSS body classes from theme.scss. - Added strings-base.json and strings.js for base and user string merging. - Added production.js to detect build mode. - Added submodule references for chobble-template and chobble-template-full. This commit sets up foundational data and configuration for the project. Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Data and Configuration
_data/includingbody-classes.js,dietaryIndicators.js,eleventyComputed.mjs,fonts.json,header-decorations.json,heading-decorations.json,image_thumbnails.json,line-styles.json,production.js,site.json,site.mjs,strings-base.json,strings.js,strings.json, andtext-decoration.jsonIncludes and Layouts
contact-links.md,fontello.css,footer.html,head.html,header.html,json-ld.html,main.scss,phone-link.md,right-column.md,social-media-feeds.html,social-media-links.html,title.htmldefault.html,delivery-area.html,home.html,page.html,post.html,posts.htmlStyles and Assets
_includes/main.scssand fontello icon font CSSRepository Structure
chobble-templateandchobble-template-fullfor template managementTest plan
This PR represents a major refactor to convert the site to use Eleventy as the static site generator, improving maintainability and modernizing the codebase.
🌿 Generated by Terry
ℹ️ Tag @terragon-labs to ask questions and address PR feedback
📎 Task: https://www.terragonlabs.com/task/7fea680a-5606-41fc-b154-6d8ef64b4b9d