How to Install Blacks — Astro Template Guide

Complete installation guide for the Blacks Astro JS template. Local setup, configuration, folder structure, and deployment to any static host.

#astro #installation #template #themes #guide

How to Install Blacks — Astro Template Guide

documentation

Publih On: 2023-12-02

Complete installation guide for the Blacks Astro JS template. From download to live site — in minutes.

Full documentation: For a deeper guide with screenshots and step-by-step details, visit the Blacks documentation →


Local Installation


Configure Your Website

Now you need to update and configure your website. Access the src/data folder and open:

Change the values to match your project.

Full guide: How to work with data →


Work with Pages

Next, move to the src/pages folder. Each page type lives in its own folder:


Promotion Widget

Create promotion widgets displayed on all post pages. Access src/content/services and create new markdown files.

Full guide: How to work with promotion widgets →


Cloud Installation — Deploy Your Site

Before you deploy, add your domain to astro.config.mjs:

export default defineConfig({
  site: 'https://yourdomain.com',
  integrations: [preact()]
});

Deploy to any static host:

  1. Push to Git — register on GitHub or GitLab
  2. Create a new repository and name it with your project name
  3. Push your project — open your project folder in the terminal and run the commands from your GitHub repo
  4. Register on a static host — Vercel, Netlify, Cloudflare Pages, or others. Sign up with your Git account.
  5. Create a new project — connect with your GitHub repo
  6. Configure build settings:
    • Framework: Astro
    • Build command: npm run build
    • Output directory: dist
  7. Click deploy — your website is live.

Full deployment guide: Deploy & Hosting →


Need Help?

Want a headless CMS integrated, or need custom setup all the way to live? Our team can help.

Headless CMS Integration →

Blacks — Multipurpose Astro Themes for Creators facebook FacebookBlacks — Multipurpose Astro Themes for Creators twitter TweetBlacks — Multipurpose Astro Themes for Creators pinterest PinterestBlacks — Multipurpose Astro Themes for Creators linked Linkedin
Blacks — Multipurpose Astro Themes for Creators

Blacks — Multipurpose Astro Themes for Creators

One Astro template for portfolio, company profile, blog, and creative work. Image gallery, cinematic video, blog system, and full SEO. Built for creators.


123 Creative Street
Los Angeles, CA 90001
United States
+1 234 567 890
hello@yourdomain.com