5.6.3
Settings
Set your name, links, Now line, newsletter form and CV in Vesper, and read the setup check.
The settings are in content/site.json. In EmDash, they are in the “Profile” collection. Vesper has no backend: the visitor’s browser sends the newsletter form straight to your newsletter tool.
An empty setting gives a plain fallback, never a broken link or form.
About you
titleandtagline: the site’s name, in each page’s browser title, the feed and the share images, and a one-line description.titleis required.nameandrole: your name, in the nav, the author box and the footer, and your role. Empty: “Your Name” and no role.avatarandavatarAlt: your photo, in the intro, the about page and the author box. Empty: your initials.headlineandbio: the intro’s heading and paragraph. In the heading, asterisks mark one phrase to set it apart:chase light *above treeline*.socials: your profile links. Each has alabel, anhrefand anicon:bluesky,email,github,instagram,linkedin,mastodon,rss,websiteoryoutube. An unknown icon shows the Website icon, and the build prints a warning.
The Now line
nowStatus: one line under the intro, such as “Building Ridgeline 2.0 · shooting slide film”. It links to the Now page. Empty: no line.nowUpdatedandnowPlace: the Now page’s “Updated” date and place.nowLabel: the Now page’s name in the nav, the footer and the home page, such as “Status”. The address stays/now. Empty: “Now”.
The newsletter form
newsletterAction is where the form posts: your newsletter tool’s form address. Empty: the home page’s newsletter card becomes “Follow by RSS”, a link to /rss.xml.
newsletterOptions holds the form’s options, if your tool needs them: emailName (the email field’s name), honeypot (your tool’s spam trap name), nameField and nameName (a name field), and hiddenFields. A hidden field whose value is a site path, such as /thanks, becomes a full URL on your site’s address.
"newsletterAction": "https://example.com/newsletter/subscribe",
"newsletterOptions": { "honeypot": { "name": "_hp" } },
"newsletterNote": "Join 2,140 readers."
newsletterNote is a short line under the form. Empty: no line.
In EmDash, the options are flat fields: newsletter_email_name, newsletter_honeypot, newsletter_name_field, newsletter_name_name and the newsletter_hidden list.
Set a real address before you launch. The demo’s form has a placeholder address on example.com, and a form on such an address never sends a visitor’s email:
- On a site that is not live (your own machine, or a static build with no real
SITE_URL), it sends nothing and shows “This is a demo, so nothing was sent.” - With a real
SITE_URL, a static build stops and lists the address, even withsampleContenton. - A production EmDash server always counts as live. The form does not show: the card becomes “Follow by RSS”, and the server log names the setting.
Your CV
cvFile is the Download CV link on the home page’s Work card and the about page: a file in public/, such as /files/cv.pdf, or an https: URL. Anyone with the link can download it. Empty: no Download CV.
Sample content
sampleContent is the demo’s flag. With it on, a [[fill in: …]] marker never stops the build: the build warns about each one, whatever SITE_URL says. It also allows placeholder addresses while SITE_URL is not your real address, and shows a “Sample content” note in the footer. Empty: markers and placeholder addresses stop the build.
In EmDash, the setting names are in snake case: now_label, now_status, cv_file, sample_content.
The setup check
pnpm build (with Markdown) and pnpm dev check the settings. They stop with a list of problems:
- A collage with a count other than 0, 4, 5 or 6 photos.
- A
newsletterAction,cvFileor hidden field link that is neither anhttps:URL nor a site path, or acvFilepath that is not a file inpublic/. - A honeypot name that browsers fill in:
email,name,urlorphone. - A content link that is not an
https:URL, a site path, a#link,mailto:ortel:. This covers the menus, the social links, and the links of projects, talks, uses items, jobs and collage photos. - Placeholder addresses, unless
sampleContentis on andSITE_URLis not your real address: a newsletter action, hidden field, CV address, social link, menu link, or the link of a project, talk, uses item, job or collage photo, onexample.com(or a subdomain of it, or.example), and a social link to a profile site’s home page with no username, such ashttps://github.com, as in the demo. A realSITE_URLstops on these even withsampleContenton, because a form on a placeholder address takes no signups. [[fill in: …]]markers in the text of your pages, posts, projects, talks, uses items, jobs and collage photos, unlesssampleContentis on. The list names each entry, such aspages/<slug>orprojects/<slug>. Fill each one in, or turnsampleContenton to build anyway. With it on, the build warns about each marker, whateverSITE_URLsays. A draft post stopspnpm devonly, because a build leaves drafts out.
With EmDash, the check runs in pnpm dev only. A production server never runs it. A bad value there just gives the fallback: no collage, “Follow by RSS”, no Download CV, or the link left out. A [[fill in: …]] marker has no fallback, because an EmDash build renders no page and so cannot see your content. A marker in published content shows on the live site, so replace each one before you publish.
Your site’s address
Set your site’s public address before you build. The feed, the sitemap, robots.txt, the share images and the newsletter form’s hidden links need it. See Deploy.