mirror of
https://github.com/chobbledotcom/avo-coffee.git
synced 2025-11-02 20:39:25 +00:00
No description
| .github/workflows | ||
| _lib | ||
| bin | ||
| src | ||
| .eleventy.js | ||
| .envrc | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
Avo Coffee Website
A minimal, responsive website for Avo Coffee, a family-run cafe in Haslingden, Rossendale offering freshly prepared food and great coffee.
Website Structure
Main Content Areas
- Pages:
src/pages/- Main site pages including home, about, menu, and contact - Blog Posts:
src/blog/- Individual blog posts and news updates - Snippets:
src/snippets/- Reusable content blocks that can be inserted into any page - Assets:
src/assets/- Images, logos, and other static files- Photos:
src/assets/photos/- Photos
- Photos:
Layout & Design
- Layouts:
src/_layouts/- Page templates and structure - Styling:
src/css/- SCSS style files - Site Data:
src/_data/- Global site configuration
Editing Content
Site Configuration
Edit src/_data/site.json to update:
- Site name
- Contact information
- Social media links
- Hours and address
Homepage Content
The homepage sections can be edited in:
src/snippets/home-intro.md- Introduction sectionsrc/snippets/home-menu.md- Featured menu items
Blog Posts
Add new blog posts in the src/blog/ directory with the following data at the top of the file:
---
title: Post Title
description: Brief summary for SEO
---
And name the file YYYY-MM-DD-blog-post-name.md
Development
- Run
nix developto enter the development environment - Run
npm run serveto preview the site locally - Run
npm run buildto build the site for production - Run
bin/lintto format code with Biome
License
Licensed under the AGPL-3.0 License.