AstroBlog

GBlog — Astro Blog Template

By garylin111

An image-and-text blog template built on Astro with the Astroverse theme, supporting Markdown/MDX writing, tags and categories, site search, RSS and sitemap, and offering light and dark modes.

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-12View source

What stands out

A quick read of the recorded project description.

01

A blog template built on Astro with the Astroverse theme

02

Content is stored as Markdown and MDX files in the src/content/posts directory

03

Built-in tag and category pages, tag statistics and last-modified time display

04

Supports site search, sitemap and RSS subscription

05

Offers light and dark mode switching and pagination navigation

06

The interface is built with Tailwind CSS and Preline UI and is claimed to be fully responsive

Template Details

GBlog is a blog template built on Astro that uses the Astroverse theme and is positioned as an image-and-text narrative blog. Content is stored as Markdown or MDX files in the src/content/posts directory; adding an article means adding the corresponding file. The template provides tag and category pages, tag statistics and last-modified time display, pagination navigation, site search, a sitemap and RSS subscription, and supports light and dark mode switching.

The interface is built with Tailwind CSS and Preline UI and is claimed to be fully responsive; images are processed and optimized, and code can be formatted with Prettier. Site-level metadata, header links, footer links and social links are configured centrally in src/consts.ts, making it easy to uniformly modify the brand name, site title and description, and the title templates for tag and category pages.

For local development, use pnpm to install dependencies and run the development server, which starts by default at localhost:4321; the build output goes to ./dist/, and the build result can be previewed locally before deployment. The repository uses the MIT license, permitting free use, modification, commercial use and distribution of this version of the code, but third-party assets such as demo images, fonts and icons must be checked separately under their respective licenses, and external services such as domains and hosting may incur separate charges. The 100/100 performance score mentioned in the README is the project's own claim and has not been independently verified in this material.

AstroBlog

Is it right for your project?

Use Cases

  • Building a personal blog focused on image-and-text narrative
  • Continuously publishing articles with Markdown or MDX and automatically generating tag and category archives
  • A static blog site that needs site search, RSS subscription and a sitemap
  • A blog project that wants centralized configuration of site metadata, navigation links and social links

Suitable For

  • Bloggers and content creators accustomed to writing in Markdown or MDX
  • Developers who want to build a static blog with Astro and deploy it themselves
  • Sites that need basic blog features such as tags, categories, search and RSS
  • Users who accept maintaining site configuration centrally in src/consts.ts

Getting started & customization

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

  1. 1

    Recommended to install dependencies with pnpm: pnpm install

  2. 2

    Run pnpm run dev to start the local development server, with the default address at localhost:4321

  3. 3

    Run pnpm run build to build the production site, with output to the ./dist/ directory

  4. 4

    Run pnpm run preview to preview the build result locally before deployment

  5. 5

    Site metadata, header and footer links, and social links are configured in src/consts.ts; articles go in src/content/posts

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 is the code of this version and does not mean that external services or third-party assets are free.

Must comply with when using

  • Free use, modification, commercial use and distribution of this version of the code are permitted.
  • When distributing copies or substantial portions of the code, retain the original author's copyright notice and the complete 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 under their respective licenses and cannot be judged solely by the code's MIT license.
  • External services such as domains, hosting, databases, payments or AI may incur separate 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 · 65 / 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
2024-09-01
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: e1e2df053958e5f8f2d2a114eac3b94ece4cd0576eeebf6a7676aa4678ecdcad

2026-10-12T08:10:50.128Z

Source file / repository
## 🚀 **AstroVerse**: 一款用于视觉叙事的Astro主题

AstroVerse是专为引人入胜的图文叙事而设计的Astro主题。

它无缝地融合了视觉和文字内容,赋予创作者以使用高影响力图像传递引人入胜叙事的能力。

适用于希望通过引人注目的视觉效果和引人入胜的散文使自己的故事脱颖而出的博客作者和内容创作者,AstroVerse为创造沉浸式和具有影响力的数字体验提供了平台。


## 🎉 特色功能

- ✅ 基于Astro技术
- ✅ 使用Tailwind CSS和Preline UI进行开发
- ✅ 完全响应式设计
- ✅ 完美的100/100网站性能评分
- ✅ SEO优化
- ✅ 内置站点搜索功能
- ✅ 支持站点地图和RSS订阅
- ✅ 支持Markdown和MDX
- ✅ 标签统计和最后修改时间显示
- ✅ 图像处理优化
- ✅ 明暗模式切换
- ✅ 分页以方便导航
- ✅ 一键使用Prettier格式化代码


## 💻 本地运行

**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. 派生或使用此[模板](https://github.com/isooosi/astroverse)。

2. 安装依赖项:

```bash
pnpm install
```

3. 运行开发服务器:

```bash
pnpm run dev
```

## 📄 添加文章

添加文章就像将.md或.mdx文件添加到路径为**src/content/posts**的博客文件夹一样简单。

## 🧞 命令

所有命令都从项目的根目录,在终端中运行:

| 命令             | 动作                                         |
| :---------------- | :------------------------------------------- |
| `npm install`     | 安装依赖项                        |
| `npm run dev`     | 在 `localhost:4321` 启动本地开发服务器  |
| `npm run build`   | 将您的生产站点构建到 `./dist/`      |
| `npm run preview` | 在部署之前在本地预览您的构建 |
| `npm run format`  | 使用prettier格式化代码                |

### 🔧配置

基本配置文件: `./src/consts.ts`

```ts
// 将任何全局数据放入此文件。
// 您可以使用 `import` 关键字从站点的任何位置导入此数据。

// 基本页面元数据, src/layouts/BaseLayout.astro
export const BRAND_NAME = "AstroVerse";
export const SITE_TITLE = "AstroVerse";
export const SITE_DESCRIPTION = "一款用于视觉叙事的Astro主题";

// 标签页面元数据, src/pages/tags/index.astro
export const Tags_TITLE = "AstroVerse - 所有标签";
export const Tags_DESCRIPTION =
  "AstroVerse - 所有标签以及与每个标签相关的文章数量";

// 标签页面元数据, src/pages/tags/[tag]/[page].astro
export function getTagMetadata(tag: string) {
  return {
    title: `在AstroVerse中 '${tag}' 标签的所有文章`,
    description: `探索有关${tag}的文章,了解不同的观点和深度分析。`,
  };
}

// 分类页面元数据, src/pages/category/[category]/[page].astro
export function getCategoryMetadata(category: string) {
  return {
    title: `在AstroVerse中 '${category}' 类别的所有文章`,
    description: `在AstroVerse中浏览所有属于${category}类别的文章`,
  };
}

// 头部链接, src/components/Header.astro
export const HeaderLinks = [
  { href: "/category/origami/1/", title: "origami" },
  { href: "/category/code/1/", title: "code" },
  { href: "/category/note/1/", title: "note" },
  { href: "/category/life/1/", title: "life" },
    
  }
];

// 底部链接, src/components/Footer.astro
export const FooterLinks = [
  { href: "/posts/我的個人博客/", title: "自我介紹" },
  { href: "/posts/tailwind-typography/", title: "Tailwind" },
  { href: "/tags/", title: "Tags" },
];

// 社交链接, src/components/Footer.astro
export const SocialLinks = [
  { href: "/rss.xml", icon: "tabler:rss", label: "RSS" },
  {
    href: "https://twitter.com/astrodotbuild",
    icon: "tabler:brand-twitter",
    label: "Twitter",
  },
  {
    href: "https://github.com/isooosi",
    icon: "tabler:brand-github",
    label: "GitHub",
  },
];

// 搜索页面元数据, src/pages/search.astro
export const SEARCH_PAGE_TITLE = `${SITE_TITLE} - 站点搜索`;
export const SEARCH_PAGE_DESCRIPTION = `在${SITE

_TITLE}上搜索所有内容`;
```

Report a correction

Explore similar templates

Compare previews and descriptions within the same stack and category.