AstroBlog

astro-antares — Astro Blog Template

By coderxi1

Antares is a minimalist blog template based on Astro, with configuration centralized in src/config.ts. It supports dark mode, responsive layout, RSS and sitemap, and provides sticky posts and password protection in post frontmatter.

Explore the design

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

3 previews
Desktop homepage1 / 3
Desktop captureTop of page

Actual screenshot captured by the server browser.

All pages & views 3

Screenshots show visual appearance; interactive behavior may differ.

Recorded 2026-10-05View source

What stands out

A quick read of the recorded project description.

01

Minimalist style with responsive design using UnoCSS

02

Toggle dark mode via <html class="dark">

03

Includes rss.xml, feed.xml, baidusitemap.xml, and sitemap-index.xml

04

Frontmatter supports sticky posts, post passwords, and bodyJoin document concatenation

05

Configuration centralized in src/config.ts for easy adjustment of site info, navigation, sidebar, and footer

06

Supports creating custom pages with .astro or .mdx and freely combining sidebar cards

Template Details

Antares is a blog template based on Astro. The repository uses the MIT license, and the demo site is antares.coderxi.com. The template focuses on a minimalist style, uses UnoCSS for responsive design, and supports dark mode via <html class="dark">.

For content organization, posts are placed in posts/*.md. Frontmatter supports title, title icon, title gradient color, publish date, update date, tags, categories, description, sticky (higher number means higher position), post password, and concatenating another Markdown document via bodyJoin. The site includes rss.xml, feed.xml, baidusitemap.xml, and sitemap-index.xml.

Configuration is centralized in src/config.ts, including SITE_INFO, POST_PAGE_SIZE, DEFAULT_FRONTMATTER, SIDEBAR_SETTINGS, ASIDE_CARDS, NAV_ITEMS, FOOTER, and FRIEND_LINK. Custom pages can be written in .astro or .mdx, specifying the title, title icon, and sidebar cards via PageLayout.

There are two installation methods: git clone the repository, or use pnpm create astro to specify this template. After installing dependencies, run pnpm run dev to start development.

AstroBlog

Is it right for your project?

Use Cases

  • Building a personal blog and publishing Markdown posts
  • Reading scenarios requiring dark mode and mobile adaptation
  • Setting access passwords for some posts via frontmatter
  • Highlighting important posts with the sticky field
  • Customizing pages such as archives and adjusting sidebar cards

Suitable For

  • Developers familiar with Astro who want to start blogging quickly
  • Users who prefer minimalist typography and centralized configuration
  • Personal sites needing RSS, sitemap, and dark mode

Getting started & customization

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

  1. 1

    Can be created by git clone the repository, or using pnpm create astro@latest -- --template coderxi1/astro-antares

  2. 2

    After entering the project directory, run pnpm install to install dependencies, then pnpm run dev to start development

  3. 3

    Site info, pagination, navigation, sidebar, footer, and friend links are configured in src/config.ts

  4. 4

    Posts are placed in posts/*.md; frontmatter supports title, titleIcon, titleColor, publishDate, updatedDate, tags, categories, description, top, password, bodyJoin

  5. 5

    Third-party assets such as demo images, fonts, and icons must be checked against their respective licenses; the code's MIT license alone is not sufficient

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 that 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 must be checked against their respective licenses; the code's MIT license alone is not sufficient.
  • 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-05. 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
Astro Themes
Documentation and maintenance reference score
More documented · 81 / 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-03-19
Screenshot last checked
2026-10-05

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-06

Inspect the recorded source material

SHA-256: dac7aa784689f11a8cd1e628162f48ef4b0bd175cb37e83ab6af646ba80d2818

2026-10-05T16:57:10.998Z

Source file / repository
# Antares

基于Astro的博客模板  

**[Github](https://github.com/coderxi1/astro-antares) | [演示页面](https://antares.coderxi.com)**

## 💻 Installation

- Git  
  ```
  git clone https://github.com/coderxi1/astro-antares blog
  ```
- Astro
  ```
  pnpm create astro@latest -- --template coderxi1/astro-antares
  ```

### 💻 Start

- 移动到博客目录下,然后安装依赖并开始开发
```
cd [/path/to/]
pnpm install
pnpm run dev
```

## 🎉 Features

- ✅**Simple style** :简约!简约!还是TMD简约!
- ✅**Dark Mode** :夜间模式 `<html class="dark">`
- ✅**Responsive Design** :基于 `unocss` 的响应式设计,适配不同设备。
- ✅**Attached sitemap** :自带站点地图/订阅 `rss.xml` `feed.xml` `baidusitemap.xml` `sitemap-index.xml`
- ✅**Easy-to-secondary-develop** :**快速**、**高效**地创建自定义页面,**自由**地调整侧边栏卡片  
- ✅**Easy-to-use** :大部分需要改动的配置集成在`src/config.ts`  
- ✅**Post-Frontmatter** :更丰富的frontmatter,包括**置顶功能**、**加密功能**等。

## 🖥️ Create Page

### .astro
- `src/pages/archives.astro`
  ```astro
  <PageLayout
    title="归档"
    titleIcon="mdi:archive"
    asideCards={['CardRecentPost','CardCategroies','CardTagCloud']}
  >
    <PostListSimple posts={posts}/>
  </PageLayout>
  ```
### .mdx
- `src/pages/archives.mdx`
  ```mdx
  ---
  layout: '@/layouts/PageLayout.astro'
  asideCards: 
    - CardRecentPost
    - CardCategroies
    - CardTagCloud
  title: '归档'
  titleIcon: 'mdi:archive'
  ---

  import posts from '@/content/posts'
  import PostListSimple from '@/components/PostListSimple.astro'

  <PostListSimple posts={posts}/>
  ```

## ⚙ Configuration

### config.ts
- `src/config.ts`
  | **配置**               | **描述**                                                                                    |
  |--------------------|-------------------------------------------------------------------------------------------------|
  | **SITE_INFO**       | 网站的基本信息,如标题、描述等。                                                                  |
  | **POST_PAGE_SIZE**  | 每页显示的文章或内容数量。                                                                      |
  | **DEFAULT_FRONTMATTER** | 默认的文章或页面元数据配置,如标题、日期、标签等。                                             |
  | **SIDEBAR_SETTINGS** | 配置网站侧边栏的显示内容,如导航、搜索框等。                                                      |
  | **ASIDE_CARDS**     | 侧边显示的小卡片或附加信息区域。                                                                   |
  | **NAV_ITEMS**       | 导航栏中的链接项目,如主页、博客等。                                                                  |
  | **FOOTER**          | 页脚部分的内容,如版权信息、网站链接等。                                                              |
  | **FRIEND_LINK**     | 友情链接,指向其他相关网站的链接。                                                                    |

### Post-Frontmatter
- `posts/*.md`
  | 字段        | 内容                                   | 可选     | 描述                            |
  |-------------|---------------------------------------|----------|--------------------------------|
  | title       | `'Antares 文档'`                       | **必需**     | 标题                       |
  | **titleIcon**   | `'/favicon.svg'`                   | 可选     | 标题图标                        |
  | **titleColor**  | `'#0998DF'`                        | 可选     | 标题渐变颜色                    |
  | publishDate | `'2024-12-19'`                         | 可选     | 发布时间 (默认使用文件创建时间)   |
  | updatedDate | `'2024-12-19'`                         | 可选     | 更新时间 (默认使用文件修改时间)   |
  | tags        | `['Astro', 'TagD']`                    | 可选     | 标签                            |
  | categories  | `['Astro', 'Demo']`                    | 可选     | 分类                            |
  | description | `'暂无描述.'`                           | 可选     | 文章描述                        |
  | **top**     | `1`                                     | 可选     | 置顶 (数字越大越靠前)            |
  | **password**| `123456`                                | 可选     | 为文章设置密码                   |
  | **bodyJoin**| `./README.md`                            | 可选     | 提供文件路径 拼接另一个markdown文档 |
Report a correction

Explore similar templates

Compare previews and descriptions within the same stack and category.