A free electrician website template built with Eleventy (11ty) and Nunjucks that publishes as a static site, for electricians and electrical contractors. It lists services with from prices, a full example price list, the areas you cover with a postcode checker, a quote form, an emergency line, sample reviews and accreditation placeholders, with every business detail in YAML.
by Light CloudTrades and home


Every business detail lives in content/: business.yaml for the name, phone, hours, emergency line and accreditations, one YAML file per service, prices.yaml for the price list, areas.yaml for zones and postcode districts, and YAML for reviews and the FAQ. Eleventy builds every page to plain HTML in _site/. The demo prices are realistic estimates, not quotes, and the EICR and Part P wording follows the rules in England, so check it if you work in Wales, Scotland or Northern Ireland. The postcode checker matches the outward code only, accreditation numbers are placeholders and the reviews are labelled samples until you replace them. There is no linter: npm run check type-checks the JavaScript and the tests cover the rest.
Deploy this template, then edit the YAML files in content/: your name, phone number, hours, services, prices and the postcodes you cover. Each file has comments on every field, and the site rebuilds from them on every push.
Put the scheme name and your registration number in accreditations: in content/business.yaml, with a link to the scheme's checker. Until the number is filled in, the site shows a marked placeholder and leaves it out of the structured data, so it never claims a registration you have not added.
With nothing set, it opens the customer's email app with the request written out and addressed to the email in content/business.yaml. Put a Formspree, Basin or similar URL in QUOTE_FORM_ENDPOINT to receive requests directly, and set QUOTE_FORM_FILES=true if it accepts photos.
Yes. Change the services, prices, accreditations, wording and photos, and change the JSON-LD type in src/lib/schema.js from Electrician to Plumber, RoofingContractor or HomeAndConstructionBusiness.
Yes. Run npm run build and upload _site/ to any static host; every page is a real HTML file, so no SPA fallback is needed. Set the environment variables in the host's build settings.