AstroBlog

Astrology — Astro Blog Template

By XahidEx

Astrology is an Astro-based image-text blog theme built with Tailwind CSS and Preline UI, featuring built-in search, tag statistics, RSS and sitemap, Markdown/MDX authoring, and automatic dark mode.

Explore the design

Compare the page layouts and mobile experience. Open any screenshot for a closer look.

1 previews
Author preview
Author-provided preview

Preview provided in the project README.

One original preview is available. Open the full image to inspect the design.

Screenshots show visual appearance; interactive behavior may differ.

Recorded 2026-10-12View source

What stands out

A quick read of the recorded project description.

01

Built on Astro, with interface developed using Tailwind CSS and Preline UI

02

Supports Markdown and MDX authoring; articles can be published by placing them in src/content/posts

03

Includes site search, pagination navigation, tag statistics, and last modified time display

04

Provides sitemap and RSS feed, and includes basic SEO configuration

05

Responsive layout with automatic dark mode switching

06

Site information, navigation, and social links are configured centrally in src/consts.ts

Template Details

Astrology is an Astro blog theme for image-text storytelling, emphasizing the combination of images and text, suitable for blogs focused on visual articles. The theme is developed with Tailwind CSS and Preline UI, features a responsive design, and provides automatic dark mode switching.

For content, articles can be published by placing Markdown or MDX files in the src/content/posts directory. The theme includes site search, pagination navigation, tag statistics, and last modified time display, along with sitemap and RSS feed support, and basic SEO configuration. Site information, navigation links, social links, etc. are maintained centrally in src/consts.ts.

The project is released under the MIT license, allowing free use, modification, and distribution, but third-party assets such as demo images, fonts, and icons require separate license verification. The perfect Lighthouse score mentioned in the README is the author's own claim and was not independently verified in this material.

AstroBlog

Is it right for your project?

Use Cases

  • Personal blogs that tell stories with images and long-form text
  • Article sites that need tag categorization, pagination, and site search
  • Writing projects that manage content via Markdown or MDX files
  • Content sites that need RSS and sitemap output

Suitable For

  • Content creators accustomed to writing in Markdown/MDX
  • Front-end developers who need an image-text blog theme
  • Individuals who want to self-deploy a static blog site

Getting started & customization

Use these recorded setup notes alongside the repository instructions for your chosen version.

  1. 1

    Install dependencies with pnpm install, start the local development server with pnpm run dev (default localhost:4321)

  2. 2

    Add articles as .md or .mdx files to the src/content/posts directory

  3. 3

    Modify site title, description, navigation links, footer links, and social links in src/consts.ts

  4. 4

    Build output is generated to ./dist/ via pnpm run build, and can be previewed locally with pnpm run preview

  5. 5

    Third-party assets such as demo images, fonts, and icons require separate license verification

Read repository instructions

License & source material

Usage conditions & limitations

Free to use · keep license notice

This entry covers the free version under the MIT license in the public repository; the free scope applies to this version's code and does not imply that external services or third-party assets are free.

Must comply with when using

  • Free use, modification, commercial use, and distribution of this version's code are permitted.
  • When distributing copies or substantial portions of the code, retain the original author's copyright notice and the full MIT license notice.
  • The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.

Additional costs & items to verify

  • Demo images, fonts, icons, and other third-party assets require separate license verification and cannot be judged solely by the code's MIT license.
  • External services such as domains, hosting, databases, payments, or AI may incur additional charges.
View Original Text Basis

Compiled by DeepSeek based on repository license and README ·2026-10-12. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.

Project checks & description sources

Template Information

Source platforms
GitHub
Documentation and maintenance reference score
Partly documented · 74 / 100
Technologies
Astro
Website type
Blog
How this score is calculated

Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.

What to verify for this project

Repository update recorded
2025-04-23
Screenshot last checked
2026-10-12

A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.

The catalog identifies Astro as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.

Use a selection guide →

How this description was prepared

AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.

Review declaration: [email protected] · 2026-10-13

Inspect the recorded source material

SHA-256: 8365101ff75028dbdc72ec07505a75be20214f829364bb189a39fc61ab012ba5

2026-10-12T20:06:00.379Z

Source file / repository
## 🌍Language Versions / 语言版本

🇺🇸[English](README.md) 🇨🇳[中文](README_CN.md)

## 🚀 **Astrology**: An Astro Theme for Visual Storytelling

Astrology is an Astro theme tailored for captivating photo-text storytelling.

It seamlessly merges visuals and written content, empowering creators to deliver compelling narratives with high-impact imagery.

Ideal for bloggers and content creators seeking to make their stories stand out through the fusion of striking visuals and engaging prose, Astrology provides a platform to create immersive and influential digital experiences.

<img src="public/screenshot.webp" alt="Astrology Screenshot" />

## 💯Lighthouse Score

<p align="center">
  <a href="https://pagespeed.web.dev/analysis/https-astrology-monolingual-vercel-app/aqi4acrb11?form_factor=mobile">
    <img width="510" alt="Astrology Lighthouse Score" src="public/astrology-lighthouse-score.svg">
  <a>
</p>

## 🎉 Features

- ✅ Powered by Astro
- ✅ Development with Tailwind CSS and Preline UI
- ✅ Fully Responsive Design
- ✅ Perfect 100/100 Lighthouse Performance Score
- ✅ SEO Optimized
- ✅ Inbuilt Site Search
- ✅ Sitemap and RSS Feed Support
- ✅ Markdown & MDX Ready
- ✅ Tag Statistics and Last Modified Time Display
- ✅ Optimized Image Handling
- ✅ Automatic Dark Mode Switching
- ✅ Pagination for Easy Navigation
- ✅ Code formatted with Prettier in one click

## 🎡 Live demo

Experience [**Astrology**](https://astrology-monolingual.vercel.app) in action.

## 🌆 Showcase

Share your project built with Astrology! Open an issue titled "Showcase Submission" with your project's details to be featured in our Showcase.

## 💻 Running Locally

**Recommended extensions for VSCode:**

- [Tailwind CSS IntelliSense](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss).
- [Astro](https://marketplace.visualstudio.com/items?itemName=astro-build.astro-vscode).

1. Fork or use this [template](https://github.com/idimilab/astrology)

2. Install dependencies:

```bash
pnpm install
```

3. Run the development server:

```bash
pnpm run dev
```

## 📄 Adding a post

Adding a post is as simple as adding a .md or .mdx file to the blog folder at the path **src/content/posts**.

## 🧞 Commands

All commands are run from the root of the project, from a terminal:

| Command                | Action                                       |
| :--------------------- | :------------------------------------------- |
| `pnpm install`         | Installs dependencies                        |
| `pnpm run dev`         | Starts local dev server at `localhost:4321`  |
| `pnpm run build`       | Build your production site to `./dist/`      |
| `pnpm run preview`     | Preview your build locally, before deploying |
| `pnpm run format`      | Code formatter using prettier                |
| `npx @astrojs/upgrade` | To upgrade                                   |

### 🔧Configuration

Basic configuration file: `./src/consts.ts`

```ts
// Place any global data in this file.
// You can import this data from anywhere in your site by using the `import` keyword.

// Base Page Metadata, src/layouts/BaseLayout.astro
export const BRAND_NAME = "Astrology";
export const SITE_TITLE = "Astrology";
export const SITE_DESCRIPTION = "An Astro Theme for Visual Storytelling";

// Tags Page Metadata, src/pages/tags/index.astro
export const Tags_TITLE = "Astrology - All Tags";
export const Tags_DESCRIPTION =
  "Astrology - All tags and the count of articles related to each tag";

// Tags Page Metadata, src/pages/tags/[tag]/[page].astro
export function getTagMetadata(tag: string) {
  return {
    title: `All articles on '${tag}' tag in Astrology`,
    description: `Explore articles about ${tag} for different perspectives and in-depth analysis.`,
  };
}

// Category Page Metadata, src/pages/category/[category]/[page].astro
export function getCategoryMetadata(category: string) {
  return {
    title: `All articles in '${category}' category in Astrology`,
    description: `Browse all articles under the ${category} category in Astrology`,
  };
}

// Header Links, src/components/Header.astro
export const HeaderLinks = [
  { href: "/category/One/1/", title: "One" },
  { href: "/category/Two/1/", title: "Two" },
  { href: "/category/Three/1/", title: "Three" },
];

// Footer Links, src/components/Footer.astro
export const FooterLinks = [
  { href: "/posts/why-astro/", title: "Astro" },
  { href: "/posts/tailwind-typography/", title: "Tailwind" },
  { href: "/tags/", title: "Tags" },
];

// Social Links, src/components/Footer.astro
export const SocialLinks = [
  { href: "/rss.xml", icon: "tabler:rss", label: "RSS" },
  {
    href: "https://twitter.com/idimilab",
    icon: "tabler:brand-twitter",
    label: "Twitter",
  },
  {
    href: "https://github.com/idimilab",
    icon: "tabler:brand-github",
    label: "GitHub",
  },
];

// Search Page Metadata, src/pages/search.astro
export const SEARCH_PAGE_TITLE = `${SITE_TITLE} - Site Search`;
export const SEARCH_PAGE_DESCRIPTION = `Search all content on ${SITE_TITLE}`;
```

## Deployment

Click the button below to start deploying your project on Vercel:

[![Deploy to Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/idimilab/astrology)

## ✨ Join and Contribute

Your contributions make Astrology better! Whether it's through code, design, bug reports, or feature ideas, we value your input. Check our Issues or submit a Pull Request to get started. Together, let's enhance Astrology!
Report a correction

Explore similar templates

Compare previews and descriptions within the same stack and category.