Skip to content
Sign inJoin waitlist

Editing the site — Metuo HTML

Every page of Metuo’s HTML edition is a plain file you edit in a code editor: where everything is, and how to add a post, a service, a team member or a page.

Double-click index.html: the site opens in your browser and every link works, straight from the folder. To see it exactly as a host serves it (and to test the form and the 404 page), run a small local server from the folder:

Terminal window
npx serve .

npm start runs the same command. Then edit the files in a code editor and reload the browser to see the change.

index.html, about.html, contact.html
service.html the Service page (every service as a card, the prices, the questions, the booking form)
testimonial.html the client stories
blog.html the Journal page (every post as a card, six at a time)
404.html shown for addresses that don't exist
style-guide.html every component with its name (noindex; delete it if you don't want it)
blog/*.html one page per post
legal/*.html Terms of Service, Privacy Policy
assets/css/style.css the stylesheet (generated — see design.md)
assets/js/main.js the site's scripts (you rarely need to touch it)
assets/js/config.js your settings: form endpoint
assets/images/ photos, portraits, the social icons, the logo as files
assets/fonts/ Manrope
icon-light.svg, icon-dark.svg, apple-icon.png, opengraph-image.png
sitemap.xml, robots.txt
src/css/style.css the stylesheet's source: colours, breakpoints, font, load animations

Pages and sections describes every page, section by section.

Find the words on the page and change them in the HTML. Keep the tags and classes around them, because they carry the layout. A heading looks like this:

<h2 class="text-[32px] md:text-[36px] lg:text-[40px] leading-[1.1] font-medium tracking-[-0.03em] text-green">
Guidance and support for every stage of your journey
</h2>

Change the words, leave the class. Long lines are wrapped onto several lines in the files, so when you search for a sentence, search for a few words of it. Ampersands are written &amp; (Mindset &amp; resilience training), some apostrophes &#39; (life&#39;s transitions) and quotation marks &quot;; the demo also uses the typographic ’ (we’ll). Typing ' and " in text works too; & should stay &amp;.

Button labels, the header’s links and the footer’s links are written three times: once to size the element (class="opacity-0", the copy screen readers read) and twice in the copy that rolls up on hover (aria-hidden="true"). Change all three:

<span class="opacity-0">Book a session</span><span aria-hidden="true" …><span>Book a session</span><span>Book a session</span></span>

The footer’s e-mail and phone work the same way (the second copy is the Orange one).

  • The title, the lead and the two foot lines come in word by word when the page loads. Each word is its own <span> with a CSS animation and its own delay:

    <h1 class="…">
    <span><span class="inline-block animate-word-in motion-reduce:[--word-y:0px]" style="animation-delay: 0.7s">Transform</span> </span
    ><span><span class="inline-block animate-word-in motion-reduce:[--word-y:0px]" style="animation-delay: 0.75s">your</span> </span
    >…
    </h1>

    To change the text, write one pair of spans per word (copy a pair, change the word) and keep each delay 0.05 s after the one before it. To drop the effect, replace the spans with the plain text: <h1 class="…">Your title</h1>. Every word shows without scripts too: the animation is CSS.

  • “Available for treatment”, the pill at the top, and the buttons “Start your journey” (Contact) and “Explore programs” (Service).

  • The foot lines “Helping people around the world embrace mindful living and holistic well-being.” and “London, United Kingdom (GMT+1)” are plain text (no clock): write your own place.

The header, the footer, your links and your contact details are copied into every page. Change them once for all files with your editor’s Find in Files / Replace in Files (VS Code: Ctrl/Cmd + Shift + H):

Replace With
https://metuo-html-framebrick.vercel.app Your domain, e.g. https://www.yourpractice.com (canonical links, share cards, sitemap.xml, robots.txt)
hello@example.com Your e-mail: the footer of every page, “send us an email” in the call to action and the booking section, “Contact support” in the questions
(555) 123-4567 and tel:5551234567 Your phone, as shown and as dialled (the footer)
128 Kensington High Street, Suite 405, Kensington, London W8 7RL, United Kingdom Your address (the footer’s “Location:”)
https://facebook.com, https://instagram.com, https://linkedin.com, https://tiktok.com, https://x.com Your profiles: the footer’s “Social media” column (with the link texts Facebook … Twitter (X)) and the row of icons in the call to action and the booking section (named by aria-label). Remove the <li> of a network you don’t use
Helping you build a more balanced, purposeful, and fulfilling life The line under the logo in the footer
Metuo. All rights reserved. Your footer note; keep the <span data-current-year> before it for the year
aria-label="Metuo" Your name: the name of the logo links (header and footer) for screen readers
| Metuo in <title> and share tags | Your Name (the Home title, Metuo - Therapy &amp; Coaching Website, has no suffix)
content="Metuo" Your site’s name (application-name and og:site_name)
Metuo — therapy and coaching website template A description of your share image (og:image:alt, twitter:image:alt)

Include the .html, .xml and .txt files. Review each change before replacing all: “Metuo” and “Dr. Amelia Hart” also appear in the copy (the About title, the founder’s quote and card, the client stories), which you may want to rewrite rather than replace. The year in the footer updates itself (data-current-year).

Some sections are copied into several pages. Change them in every copy (find and replace in files works for text):

Section Pages
Header and footer (with the footer’s photo, footer.jpg) Every page
The founder quote (the quote, founder.png, the background founder-background.jpg) index.html, about.html, service.html
The call to action (“Ready to take the first step toward a more fulfilling life?”, “Book a consultation”, the client photos and rating, “send us an email”, the social icons) index.html (end of “Why choose us”), about.html (end of the team), testimonial.html, blog.html
The booking section (the intro, the client photos and rating, the social icons and the form) index.html, service.html, contact.html (where its title is the page’s <h1>)
The prices index.html, service.html
The questions (“Your questions. Answered.”, the support card and six questions) index.html, service.html, contact.html, every page in blog/
The video band index.html and about.html, each with its own clip
The figures (“500+ Individuals Supported”, …) index.html (under the client stories), service.html (under the services)
The services index.html (the first four, as rows that open), service.html (all six, as cards), the session types of every booking form
The post cards index.html (the newest three), blog.html (all twelve), “More insights for you.” on every page in blog/
The client stories index.html (the first four, in the story card), testimonial.html (all six)

Home shows the first four services as rows: one is open at a time (the first, when the page loads), and on desktops the open service’s three photos sit in a column on the left. The Service page shows all six as open cards.

  • To change a service, change its name, summary and four lines in both pages, and its name in the session types of the three booking forms (value and the label: Forms).
  • On Home, each row is an <li data-service-row> with a <button aria-expanded> (the number 01, the name) and its panel (id="home-services-0" … matching the button’s aria-controls), which holds the summary, the lines and, for phones and tablets, the photos. The desktop photos are separate: one <div data-service-photos> per row in the column before the list, in the same order, all but the first invisible with aria-hidden="true". The open row is the one whose button says aria-expanded="true" and whose panel has no aria-hidden and style="height: auto; opacity: 1; visibility: visible" (a closed panel: aria-hidden="true" and style="height: 0px; opacity: 0; visibility: hidden").
  • On the Service page, each service is a card with a number bubble (01), the name (<h2>), a large photo over two small ones, the summary and the four lines.

To add a service, copy a card on service.html and renumber the bubbles (they are text). Add a row on Home only if it should be among the four there (copy a row and its data-service-photos set, and give the new panel the next id). Add its checkbox to the three forms.

The Testimonial page shows six stories as full-screen cards that stack as you scroll: each card is an <article> in a <div class="sticky top-0 …"> with the headline (<h2>), the quote, “Key Outcomes:” (a list), the portrait with name and role, and the large photo (tablets and desktops). To add or remove a story, copy or delete one of those <div>s.

Home shows the first four in one card that stays on the screen and turns to the next story as you scroll. Its text comes from a list written in the data-stories attribute of the <div data-story-cards>, one entry per story:

<div data-story-cards data-stories='[{"headline":"Finding confidence through life&apos;s transitions","quote":"\"After facing…\"","name":"Sarah Mitchell","role":"Creative Director","photoAlt":"","imageAlt":"A coach comforting a blonde woman sitting on the floor"}, …]'>

The first story is also written in the card itself (data-story="headline", "quote", "name", "role"), so that it shows before the script runs: change both. To add a story, add an entry to the list, a photo to <div data-story-photos> (with class="… opacity-0" and alt), a portrait to <div data-story-strip> and one more <div data-story-spacer> under the card (there is one spacer fewer than stories). Keep the list valid: the attribute is in single quotes, so write an apostrophe inside it as &apos;, and a double quote inside a text as \".

About shows six team members, three per row on desktops: a 2 : 3 photo with a “+” that shows the bio, and “Name — Role” under it. Each card is an <li> in the list after “Meet the team”:

<button type="button" aria-expanded="false" aria-controls="olivia-bennett-bio" aria-label="Bio of Olivia Bennett" data-team-toggle …>
…
<div id="olivia-bennett-bio" data-team-panel aria-hidden="true" …><p …><strong class="font-bold">Olivia ensures…</strong></p></div>

To add a member, copy an <li>, change the photo, the bio, the name and role, and give the panel a new id that the button’s aria-controls repeats (<name>-bio); change the name in aria-label too. The bios are bold, as in the original design: remove the <strong> for regular text.

The founder, Dr. Amelia Hart, has her own card in Home’s “About us” (home-about-2.jpg, the same “+” bio, her name written upwards beside the photo) and signs the founder quote with founder.png.

Home and Service show three plans and a Monthly / Yearly switch. Each plan has its name, a line, the price, “Includes:” with its list, a “* Perfect for:” note and “Get started” (to Contact); the middle plan, Growth, is the dark one. The price is written three times: once readable (data-price-current, the monthly price as the page loads) and twice in the column that rolls when the switch is pressed (data-price-roll: the monthly line, then the yearly line):

<span class="flex opacity-0" data-price-current>…<span …>$129</span>…<span …>/month</span>…</span>
<span aria-hidden="true" data-price-roll …>…$129…/month…$1,049…/year…</span>

Change all three, and “(32% off)” next to “Yearly” if your discount differs. The prices are text: a currency is whatever you write.

“Our process” on Home shows four numbered steps; one is open at a time (the first when the page loads). The questions show six rows that each open on their own (the first is open when the page loads). Each row’s button names its panel:

<button type="button" aria-expanded="false" aria-controls="faq-1" …><span …>How do I know if life coaching is right for me?</span>…</button>
…
<div id="faq-1" role="region" aria-label="How do I know if life coaching is right for me?" inert data-accordion-panel class="overflow-clip" style="height: 0px">

When you change a question, change it in the button and in the panel’s aria-label. To add one, copy a closed row (<div data-accordion-item>) and give its button’s aria-controls and its panel’s id a new number (faq-6). The questions are copied into many pages: find and replace in files.

The support card beside the questions (“Still have questions?”, Olivia Bennett with client-avatar.png, “Contact support”) opens an e-mail to hello@example.com.

Home and About each show a muted video that loops, grows into place as you scroll and plays only while it is on the screen. The demo clips come from Pexels and play from their servers; they are not in the download:

<video src="https://videos.pexels.com/video-files/9065048/9065048-hd_1280_720_30fps.mp4" muted loop playsinline preload="none" aria-hidden="true" tabindex="-1" data-video-band class="size-full object-cover"></video>

Replace the src with your own clip: a file in your folder (assets/videos/practice.mp4, about 1280 × 720 and a few MB, in .mp4) or the address of a video host. The clip fills the band and is cropped to it, so use a landscape (16 : 9) video. The video is decorative and silent; keep muted (browsers don’t play a video with sound by itself). To remove a video, delete its <section>.

assets/images/ holds every photo. The easiest change is to replace a file with yours under the same name: every page that shows it updates. The download ships with grey placeholders that state the size each image was designed for (for example 2400 × 1600).

To use a new file instead, change the src: <img src="assets/images/my-photo.jpg" …>. In pages inside a folder (blog/…, legal/…), the path starts with ../: src="../assets/images/my-photo.jpg". In 404.html it starts at the site’s root: src="/assets/images/…". The width and height on the <img> are the photo’s own size: write your photo’s, so that the browser keeps its space while it loads.

Every photo sits in a fixed frame and is cropped to fill it (object-cover), so a photo of other proportions works, but you lose the edges the frame cuts. Frames change shape between phone, tablet and desktop, so keep the subject away from the edges. Use photos at least as large as the demo’s:

Photos Files Demo size
The Home hero (the whole window) home-hero.jpg 2400 × 1600
The photos under the page titles of About, Service, Testimonial and Blog (about 80 % of the window tall) about-hero.jpg, service-hero.jpg, testimonial-hero.jpg, blog-hero.jpg 2400 × 1600
Home “About us”: the large photo, and the founder’s card home-about-1.jpg, home-about-2.jpg 1080 × 1620, 1000 × 1501
The founder quote’s background; also James Carter’s story photo founder-background.jpg 2400 × 1600
The founder’s portrait in the quote (54 px round) founder.png 120 × 120
A service: its main photo and two small ones service-<slug>.jpg, service-<slug>-1.jpg, -2.jpg 800 × 533 and 400 wide (the last two services 640 and 320 wide), shown at 3 : 2
“Why choose us” (Home), shown square why-1.jpg to why-4.jpg 1040 × 693 (why-3.jpg 2400 × 1600)
“Our process” (Home): the tall photo and the one over it step-background.jpg, step.jpg 1090 × 1636, 1310 × 873
“Vision & Mission” (About): the tall photo and the one over it about-mission-background.jpg, about-mission.jpg 1090 × 1635, 1310 × 873
“Our core values” (About), shown square about-value-1.jpg to about-value-5.jpg 1040 × 693
The team (About), shown at 2 : 3 team-<slug>.jpg 750 × 1125
A client story’s photo story-<slug>.jpg 1140 × 760 (Daniel Foster and Sophia Reynolds 1040 wide)
A client’s portrait (100 × 150, 80 × 120 in the Home card on phones and tablets) client-<slug>.png 200 × 300
The client photos beside the rating (42 px round) avatar-1.png to avatar-4.png 100 × 100
The support card’s portrait (54 px round) client-avatar.png 120 × 120
A post’s cover (its card at 367 : 244 and the large photo of its page) post-<slug>.jpg 2280 × 1520
The footer’s background on every page footer.jpg 2400 × 3600

Several files are used in more than one place: founder-background.jpg, a service’s photos (Home and Service), a story’s photo and a client’s portrait (Home and Testimonial), the avatars (every call to action and booking section), a post’s cover (its cards, its page and its share image) and footer.jpg. Replacing such a file changes every place; to show another photo in one of them, use a new file there.

Use .jpg for photos and keep files small; compress them with Squoosh or TinyPNG. Write an alt text for every photo that carries meaning (the demo describes each one); leave it empty (alt="", written alt in the files) for decorative ones, like the footer’s background or a post card’s photo next to its title.

The social icons (icon-facebook.svg, icon-instagram.svg, icon-linkedin.svg, icon-tiktok.svg, icon-x.svg) are 24 × 24 drawings, not placeholders; logo-white.svg and logo.png are the logo as files for use elsewhere (the pages draw it inline).

Pages link to each other as about.html, blog.html, blog/<slug>.html; from inside a folder, add ../ (../contact.html). Keep the .html: it’s what lets the site work from any host and from disk. 404.html is the exception: its links start at the site’s root (/contact.html), because hosts show it at any address.

The footer’s social links open in a new tab (target="_blank"); the icons in the call to action and the booking section open in the same tab, as in the original design. mailto: and tel: links open the visitor’s mail app or phone.

“The difference personalized coaching can make” shows four figures (“500+ Individuals Supported”, “4.9/5 Average Client Satisfaction”, “95% Confidence & Life Clarity”, “10+ Years Helping Clients”) on Home and Service. Beside the call to action and the booking form, “Trusted by 500+ clients…”, four client photos, the “65+” bubble and “4.9/5 Average Rating” over five stars (read by screen readers as one image, aria-label="Rated 4.9 out of 5": change it with the rating). They are plain text: they don’t count up. Change them in every copy.

The Journal page (blog.html) shows six posts, then six more each time the spinner under the list comes within about 500 px of the screen. Every card is in the HTML, so search engines find them all; visitors without JavaScript see them all too.

<div data-load-on-scroll data-page-size="6" class="relative w-full">
…
<div data-load-item class="min-w-0">…</div>
<div data-load-item data-later class="hidden">…</div>
  • From the seventh card on, cards carry data-later class="hidden" (the first six class="min-w-0"). The list keeps the order of the HTML: the newest post first.
  • data-page-size="6" sets how many show at a time.
  1. The page. Copy an existing one, e.g. blog/how-self-awareness-shapes-daily-growth.html → blog/finding-your-calm.html. Use lower-case words joined by - for the file name; it becomes the address. Edit:

    • the category over the title (<span>Growth</span> after the //), the title (<h1>) and the excerpt under it;
    • the cover photo (src and alt);
    • the text: paragraphs <p class="mt-5 first:mt-0">, headings <h2 class="… mt-10 text-green first:mt-0">, lists <ul class="mt-[30px] first:mt-0">, <strong> for bold and <br /> for a line break (copy them from the post);
    • “More insights for you.”: up to three other posts of the same category, newest first;
    • the <head>: title, description, canonical, og:url, the og: and twitter: titles and descriptions, the share image (og:image, twitter:image: the cover’s full address), og:image:alt and article:published_time (the date, 2026-05-28).
  2. Journal. Copy a card (<div data-load-item …>…</div>) in blog.html, paste it at the top, and edit its link, photo, category, date (the <time> element’s datetime and its text, May 28, 2026) and title. Keep class="min-w-0" on the first six cards and data-later class="hidden" on every card after them (the journal).

  3. Home, if it should be among the three cards of “Our journal” (they are the newest three: drop the last one).

  4. More insights on the other posts of the same category, where it should appear.

  5. The sitemap. Add a line to sitemap.xml:

    <url><loc>https://yourdomain.com/blog/finding-your-calm.html</loc></url>

The post page doesn’t show its date; the cards do. To remove a post, do the reverse: delete the page, its cards, any link to it and its line in sitemap.xml. Search the folder for the file name to catch any link left behind.

legal/terms-of-service.html and legal/privacy-policy.html hold sample texts with placeholders ([Your Company Name], [URL], [Link to Privacy Policy], [Your Jurisdiction], [Arbitration Location]) and “Last Updated:” with its date (<time datetime="2023-12-18">). Write your own terms, or have them checked: the samples are a starting point, not legal advice. Their text uses the same tags as a post.

  1. Copy a page close to what you want, e.g. about.html → approach.html.
  2. Replace the sections inside <main> with the ones you want. Every section in the template is a block you can copy from its page (or from style-guide.html) and paste between <main …> and </main>.
  3. Update the <head> (title, description, canonical, og:url, and the og: and twitter: titles and descriptions).
  4. If you copied a page that is in the menu, the copy marks that page as the current one: remove aria-current="page" from its two links (the header has a menu for tablets and desktops and one for phones).
  5. Link to it: in the two menus, copy the <li> of a neighbouring link and change its href and its text (written three times); or add it to the footer’s “Quick links”. In the tablet and desktop menu, each link is 75 px wide (w-[75px]) and the dark pill under the pointer slides 75 px per link, so keep labels short, give every link the next data-menu-index (0 for Home, then 1, 2 …) and keep data-close-menu on the phone links. The header and the footer are the same in every page of a folder apart from those aria-current marks, so once one page is done, copy them into the others (pages in blog/ and legal/ write ../ before each link, and 404.html writes its links from the root, /approach.html). Add the page to sitemap.xml.

A page whose first section is a photo (Home, About, Service, Testimonial, Blog) lets the header run see-through over it: that section carries data-header-cover="true", and the header turns solid when the section marked data-header-switch="true" reaches the middle of the screen. Copy both marks with such a page title; a page without them starts under a solid header.

Delete the file, remove its links from the menus and the footer of every page and its line from sitemap.xml. Search the folder for the file name to catch any link left behind: buttons link to pages too (“Learn more about us” to About, “Explore programs” and “View all services” to Service, “Read full stories” to Testimonial, “Book a session”, “Start your journey”, “Book a consultation”, “Get started” and “Contact us” to Contact).

style-guide.html shows every component with its name, which is handy for copying a button or a card. It’s hidden from search engines and linked from nowhere. Delete it before publishing if you don’t want it online; its sample forms never send anything.