5.1.3
Settings
Set Groundcrew's business details and forms, read what the setup check stops on, and fill in the legal pages.
The settings are in content/site.json. In EmDash, title and tagline are EmDash’s site settings, and the rest are flat fields in the “Business details” collection, such as business_name, quote_form_action and sample_content.
The business’s details
titleandtagline: the site’s name and its one-line description. Incontent/site.json,titleis required. If it is blank (or blank in EmDash’s site settings), the site uses the business name.logoandlogoAlt: an image for the header and the footer, and its text for screen readers. Without a logo, the business name shows as text.business: the details people see on every page.name: the business name. It is required: pages would show the title in its place, but the setup check stops on an empty name. See The setup check.shortName: a shorter name for the header and the footer, such as “Brassfield”.phone: the number customers call. It is required. The header, the call bar on small screens and every quote block use it.email,address(street,unit,city,state,zip),foundedandcrew(one line about your team).hours: a list of rows. Each row has alabel(such as “Mon–Fri”),days(MotoSu),opensandcloses(such as"07:00"). Or give a row atextin place of the times, such as “Emergency calls only”.timeZone: such asAmerica/New_York. Left out:America/Chicago.workNoun: what you do, such as “Plumbing and drain service”. It names your work in each area page’s title and heading (“Plumbing and drain service in Worthington, OH”), and it is the label over a service’s page when no other label fits.
credentials: yourlicense(label,number,issuerand anote),insured,bonded,warrantyand a list ofcertifications. They show in the home page’s trust strip and credentials block and on the about page. The footer shows only the license and the insurance line. Each one you leave out has no line.servedPlaces: the towns you serve, such as"Westerville, OH". Search engines read them as your service area. See Search and AI.rating:value,count,sourceandlink, for the reviews block. It shows only when the block asks for it and all four are filled. Use your real rating only.smsConsent: the consent words under phone fields, for text messages. They show only while thetextspart is on. See Turn parts off.
Any other detail you leave out has no line on the site.
The emergency line and the care plan
emergency:label,phone,arrivalWindow,textandformNote(the note on the forms that tells people to call instead). If you setemergency,phoneis required. The line shows as a header link, a band on the home page, the note on the forms and a pill in the footer. To turn it off, remove theemergencyobject or set its switch tofalse.carePlan:name,price,period, an optionaltext,includes(a list) and an optionalbuttonlabel. With nocarePlan, the care plan stays off.
Each also has a switch. See Turn parts off.
Social links
socials is a list of links to your profiles:
"socials": [
{ "label": "Facebook", "href": "https://www.facebook.com/<your-page>" },
{ "label": "Yelp", "href": "https://www.yelp.com/biz/<your-business>" }
]
They show in the footer as icons, named by their labels. The icon comes from the address. Facebook, Instagram, YouTube, Google, Yelp, Houzz, Thumbtack, Pinterest, TikTok, X and LinkedIn show their logos. Any other address shows a plain link icon.
The samples link to each site’s home page, such as https://www.yelp.com. That is no one’s profile, so the setup check counts it as a placeholder, like an example.com address. Set each one to your own profile’s address, or remove it.
Forms
Groundcrew has two forms: the quote form on the quote page, and the contact form on the contact page. Each posts to your form service. Leave one out, and its page shows a call and email block in its place.
"quoteForm": {
"action": "https://forms.<your-domain>/quote",
"honeypot": { "name": "_gotcha" },
"hiddenFields": [{ "name": "subject", "value": "Website quote" }]
}
action: where the form posts. Anhttps:address, or a site path such as/thanks.emailName: the name of the email field, if your service needs another one.honeypot: your service’s spam trap field. People do not see it.hiddenFields: a list of{ "name", "value" }pairs that your service needs. A value that looks like a link must be a fullhttps:address.send: how the form sends. See below.
quoteChoices sets the quote form’s choices: property (a list, such as House, Townhome, Condo), access (a list) with its question accessLegend, and detailsHint, the hint in the details box.
In EmDash, the form settings are flat fields, such as quote_form_action, quote_form_honeypot, quote_form_hidden and quote_form_send, and the same for contact_form_.
How a form sends
send takes one of two values:
"fetch", the default (also when you leave it out): the form sends in the background and shows the thanks on the page. Your service must answer with JSON. If it is on another domain, it must allow CORS."post": a plain HTML form post. The visitor’s browser goes to your service’s own page. Use it when your service answers with an HTML page or does not allow CORS, or when the form shows an error even though the message arrives.
With JavaScript off, a form always posts plainly, whatever send says.
What a form on a placeholder address does
The samples’ forms post to a placeholder address on example.com. That is a real server, so a form on such an address never sends a visitor’s details there. What it does depends on the site:
- A site that is not live (your own machine, or a static build with no real
SITE_URL) withsampleContenton: the form sends nothing and shows “This is a demo, so nothing was sent.” - A live static site: with a real
SITE_URL, the build stops and lists eachexample.comaddress, even withsampleContenton. - An EmDash server: a production server always counts as live, and it runs no check. The form does not show. The page shows the call and email block, and the server log names the setting. A placeholder business email and a placeholder hidden value are left out in the same way.
So set real form addresses before you launch, and then send a test message from each form.
The setup check
A static build and pnpm dev check the settings. pnpm dev checks them on EmDash too. They stop, with a list of problems, on:
- No business name (
business.name) or no phone (business.phone). - A form with no action, or with one that is neither
https:nor a site path. While the site is not live, anhttp:address on your own machine is allowed, for a form service you run there. - A hidden field with no name, or a value that looks like a link but is not a full
https:address. - A content link that the theme refuses, such as a
javascript:link.
These stop the build too, unless sampleContent is on and the site is not live:
- Placeholder addresses: a form action, a hidden value or the business email on
example.com,example.orgorexample.net(or a subdomain of one, or.example), and a social link on one of those addresses, to a placeholder email (mailto:) or to a site’s home page. [FILL IN: …]markers in the settings, the home page, a menu or any entry. The list names each one, such aspages/privacyorservices/<slug>.
While they are allowed, the build lists them as a warning.
Once the site is yours
As soon as you change the business name or the phone from a sample’s, a static build and pnpm dev stop on every placeholder address and [FILL IN: …] marker that is left. This holds even with sampleContent on, and with or without SITE_URL. A business that goes live with dead forms loses jobs and never knows.
To build anyway for a private preview, run ASTRONOMIC_ALLOW_PLACEHOLDERS=1 pnpm build (exactly 1). It prints a warning that the forms and email reach no one. Never set it for a live build or as a default. It works only while sampleContent is on and SITE_URL is not your real address. With sampleContent off, or at a real SITE_URL, placeholders and markers stop the build even with it set.
On an EmDash server
An EmDash production build renders no pages, so it does not run this check, and neither does the EmDash server. A bad value there gives the fallback: a form that cannot send does not show, and a placeholder form, email or social link is left out, with one line in the log. A [FILL IN: …] marker has no fallback. A marker an editor publishes shows on the live page. So run pnpm dev or a static build against your content before you launch.
A production server with no business name and no title answers every page with a plain “not set up” page (status 503), and logs one line that names the setting. The admin still opens at /_emdash/admin. Save a name there, and the site answers at once.
Sample content
sampleContent is the sample’s flag. It is on in every sample. While it is on and the site is not live, placeholder addresses and [FILL IN: …] markers are allowed with a warning, and the footer marks the license number as a sample number. Turn it off before you launch. Left out, placeholders and markers stop the build.
Legal pages
content/pages/privacy.md, terms.md and accessibility.md are templates. Each [FILL IN: …] marker asks for one fact: your business details, your form service, your retention periods, your host, your state’s law and your attorney’s wording. Replace each one with your real fact. To find them:
grep -rn "FILL IN" content/
A marker left in a page, or anywhere else you write, stops the build once sampleContent is off, once the site is yours or once the site is live. The setup check names each entry. The check finds the markers, but it does not read what you wrote.
With EmDash, the same markers are in the Pages collection: open each page in the admin. pnpm dev runs the same check. A production server runs no check and shows a marker as written, so clear them before you launch.
These templates are not legal advice. Have your attorney read them.