🔥 All-Access Pass — $199 USD (Regular $499) · Unlock all 2,836 Astro themes ➔
komal.nakrani
Get All-Access Pass ($199)
ThemesCategoriesDocsBlogTips & TricksPricingGet All-Access Pass ($199)
Astro Themes••By Komal Nakrani

Astro Theme Client Work: Licence, Setup and Handover

Astro theme client work done right: check the licence, set up one repo per client, rebrand fast, add a CMS for editors, then deploy and hand over cleanly.

#Astro#Astro Theme Client Work#Freelancing#Astro Themes

Using an Astro theme for client work is a sound way to deliver a fast, low-maintenance site in days instead of weeks, as long as you get three things right: a licence that covers client projects, a setup where each client has their own repository and hosting account, and an editing workflow the client can actually use. The theme gives you the design and page set; your work is the brand, the content, the integrations and a clean handover.

Key Takeaways

  • Confirm the theme’s licence allows client projects and lets the client keep the site after you part ways.
  • Create one repository per client from the untouched theme, and keep the original as a Git remote for updates.
  • Rebrand at the token level (colors, fonts, logo) before touching any layout.
  • Decide how the client will edit content before you build: Markdown via Git, a git-based CMS, or a headless CMS.
  • Deploy to a hosting account the client owns, and hand over repo access, DNS details and a short editing guide.

Check the licence first

Before you quote a client, read the theme’s licence with three questions in mind:

  1. Does it allow client projects? Some licences are personal-use only, or charge per end product.
  2. How many sites does one purchase cover? One site, a fixed number, or unlimited?
  3. What happens after handover? The client must be able to keep running, editing and hosting the site without you.

What’s almost always prohibited is reselling or redistributing the theme files themselves, for example publishing the theme as a starter or giving the source to someone to sell. Selling the finished site you built is the normal use. For free themes, read the LICENSE file; MIT-style licences allow commercial use but usually require keeping the copyright notice in the source.

For Komal themes, one purchase covers unlimited sites for yourself or paying clients, with full modification and permanent use, and reselling the theme files as a template is not allowed. The licensing docs and the full licence text spell this out.

Pick an Astro theme that matches the client’s site type

The biggest time saving comes from a theme that already has the pages the client needs. List the client’s pages first (home, services, case studies, team, pricing, booking, blog), then compare themes against that list. A restaurant theme with a menu page and a reservation section saves more time than a prettier generic theme without them.

Browse by niche rather than by look: portfolio and agency themes for studios and freelancers, and the other categories for clinics, restaurants, real estate and so on. Open the live preview on a phone as well as a desktop, since that’s where most of the client’s visitors will be.

Set up one repository per client

Create each client project from the untouched theme, commit it as a baseline, and keep the original theme as a second remote. That gives you a clean diff of your changes and a path to pull theme updates later:

# Terminal
git clone [email protected]:your-org/purchased-theme.git client-northline
cd client-northline
git remote rename origin theme
git remote add origin [email protected]:your-org/client-northline.git
git push -u origin main
npm install
npm run dev

Keep client-specific settings out of components. A single settings file makes the next client project faster and keeps the diff from the theme small:

// src/data/site.ts
export const SITE = {
  name: 'Northline Hotels',
  url: 'https://www.northlinehotels.com',
  description: 'Boutique hotels on the northern coast.',
  email: '[email protected]',
  phone: '+44 20 7946 0000',
  social: {
    instagram: 'https://www.instagram.com/northline',
    linkedin: 'https://www.linkedin.com/company/northline',
  },
};

Set site in astro.config.mjs to the client’s production URL early, because canonical URLs, the sitemap and RSS feeds all depend on it. The theme Git upstream tip covers merging theme updates into a customized client repo.

Rebrand fast, at the token level

Work from the outside in:

  1. Colors in the Tailwind config or CSS custom properties.
  2. Fonts through the Astro Fonts API in astro.config.mjs.
  3. Logo and favicon in the logo component and public/.
  4. Navigation in the theme’s nav data file.
  5. Content and images last.

Changing tokens rather than individual classes keeps the theme’s spacing and hierarchy intact, which is most of what makes it look finished. Resist redesigning sections in the first pass. Clients react to real content far better than to a demo full of placeholder text, and many layout requests disappear once their own photos and copy are in place. Show the client the rebranded theme with their content, then refine.

Decide how the client will edit content

This is where client projects succeed or fail. An Astro theme keeps content in Markdown or MDX files, which is fine for a developer and unworkable for most clients. Choose an editing model before you build, and price it in:

Option Client experience Best when
You edit, client emails changes Nothing to learn Content changes a few times a year
Git-based CMS (Decap, Keystatic, TinaCMS) Web form; saves Markdown to the repo Blog posts and simple pages, no extra database
Headless CMS Full editor, roles, drafts Large content teams, many editors
Headless WordPress Familiar WordPress admin Client already knows WordPress

A git-based CMS is often the sweet spot for small businesses: the client gets a login and a form, every edit is a commit, and the site rebuilds on each change. Our comparison of Keystatic, TinaCMS and Decap helps you pick one.

Whichever you choose, define content collections with schemas so a client can’t break a page with a missing field:

// src/content.config.ts
import { defineCollection } from 'astro:content';
import { glob } from 'astro/loaders';
import { z } from 'astro/zod';

const rooms = defineCollection({
  loader: glob({ pattern: '**/*.md', base: './src/content/rooms' }),
  schema: ({ image }) =>
    z.object({
      name: z.string(),
      price: z.number(),
      photo: image(),
      featured: z.boolean().default(false),
    }),
});

export const collections = { rooms };

Deploy to the client’s own account

Create the hosting account (Cloudflare Pages, Netlify or Vercel) in the client’s name, or transfer it at handover. Connect it to the client’s repository so pushes and CMS edits deploy automatically. Since a theme’s static output needs no server or database, there’s nothing to patch on the host, and many static hosts have a free tier that covers a typical small business site.

Add the custom domain in the host’s dashboard and update DNS at the client’s registrar. If the client keeps their email on the same domain, change only the records the host asks for and leave MX records alone.

Hand over the client’s Astro site cleanly

A good handover means the client could replace you tomorrow. Give them:

  • Owner access to the Git repository (or transfer it to their organisation).
  • Owner access to the hosting account and the domain registrar login they already hold.
  • CMS logins for each editor.
  • A one-page guide: how to edit a page, add a post, replace an image, and who to call for layout changes.
  • A note of which theme the site is based on and where updates come from.

The client handover guide goes deeper on contracts and access transfer.

Maintenance after launch

A static Astro site has very little ongoing upkeep: no plugins to patch, no server to monitor. What’s left is content, the occasional dependency update, and moving to a new Astro major when it’s worth it. Many freelancers offer a small retainer for content changes and a yearly check that runs npm outdated, rebuilds and redeploys. Be clear in the contract about what’s included, since “maintenance” means far less work here than on a WordPress site.

FAQ

Can I use an Astro theme for a client website?

Yes, if the theme’s licence allows client or commercial use. Most paid Astro themes include it, and MIT-licensed free themes allow it with the copyright notice kept in the source. Reselling the theme files themselves is typically prohibited.

Do I need to buy a new theme licence for each client?

It depends on the seller. Some licences cover one end product per purchase, and others allow unlimited sites. Read the licence before you quote, and include the cost in the project price if you need one per client.

How do clients edit an Astro site?

Add a CMS. A git-based CMS like Decap, Keystatic or TinaCMS gives clients a web editor that saves Markdown to the repository, and a headless CMS gives a fuller editor for larger teams.

Who should own the hosting for a client’s Astro site?

The client. Create the hosting account in their name or transfer it at handover, and connect it to a repository they own. That way the site keeps running and deploying if your engagement ends.