极简的 Markdown 博客主题,默认尽量少输出 JavaScript
TEMPLATE_ASTRO_INK_JSAY_HUGO — Astro 博客模板
作者 lgtm-migrator
Astro Ink 是一个面向 Markdown 个人博客的极简 Astro 主题,灵感来自 Hugo 的 Ink 主题,并附带 Netlify CMS、草稿定时发布与客户端搜索等可选能力。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
目前有 1 张原始预览,可打开完整图片查看设计细节。
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
结构高度模块化,每个组件只承担单一职责
支持标签分类与分页的动态页面,行为可配置
支持深色模式与 6 种以上可配置颜色模式(README 标注为 beta)
集成 Netlify CMS,可在后台管理 /blog 目录下的文章
提供草稿定时发布(GitHub Action)与基于 Lunr.js 的客户端搜索
模板详细介绍
Astro Ink 是一个以 Markdown 内容为核心的极简个人博客主题,基于 Astro 构建,设计目标是在默认情况下尽量少地输出 JavaScript。它参考了 Hugo 的 Ink 主题,整体结构高度模块化,每个组件只负责单一职责。
主题自带博客常用的基础 Astro 组件,支持类似 Next.js 的动态页面,可基于标签进行分类并输出分页结果,相关行为均可配置。交互组件(例如主题切换器)使用 Svelte 实现。它支持深色模式,并提供 6 种以上可通过 tailwind.config.js 配置的颜色模式;该功能在 README 中标注为 beta,并提示开发时需重启、每次只启用一组颜色。博客正文样式可通过 Tailwind Typography 的 prose-{color} 类自定义。
在内容管理方面,主题集成了 Netlify CMS,可在 Netlify 站点后台添加、编辑和更新 /blog 目录下的文章,但需要启用 Netlify Identity 与 Git Gateway。它还提供未来文章功能:在 /src/drafts 目录中创建日期为未来日期的文章,由配套的 GitHub Action 按指定日期自动发布,检查间隔可在工作流中配置。此外提供基于 Lunr.js 的客户端搜索。
README 中说明该主题使用 astro@next,并提到 Svelte 用于交互组件,但未给出具体依赖版本号。仓库的演示图片、字体、图标等第三方素材需单独核对其许可,不能仅凭代码的 MIT 许可判断。
适合你的项目吗?
适用场景
- 搭建以 Markdown 写作的个人技术博客
- 需要一个结构清晰、便于按组件修改的 Astro 博客起点
- 希望通过 Netlify CMS 在浏览器中管理文章内容
- 希望文章按预设日期自动发布,或为博客添加客户端搜索
适合人群
- 使用 Astro 并偏好 Markdown 写作的个人博客作者
- 希望博客默认输出较少 JavaScript 的开发者
- 需要标签分类与分页浏览的博客站点
- 愿意配置 Netlify Identity、Git Gateway 或 GitHub Actions 的用户
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
README 说明主题使用 astro@next,具体依赖版本需以仓库依赖清单为准
- 2
Netlify CMS 需要在 Netlify 站点启用 Identity 与 Git Gateway 才能使用
- 3
未来文章功能依赖配套的 GitHub Action,检查间隔可在 .github/workflows/main.yml 中配置
- 4
颜色模式需在 tailwind.config.js 中配置,README 提示开发时重启并一次只启用一组颜色
- 5
演示图片、字体、图标等第三方素材需按各自许可单独核对
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
- 使用 Netlify CMS 后台管理文章时,必须在 Netlify 站点启用 Netlify Identity 与 Git Gateway 服务,并依赖 Netlify 账号与站点配置,属于外部服务依赖。
- 未来文章定时发布功能依赖外部 GitHub Action(ssg-publish-drafts)与 GitHub Actions 运行环境,需在仓库工作流中配置后才能按指定日期自动发布。
- 颜色模式配置存在使用限制:开发时需重启,且一次只能启用一组颜色,不能同时启用多组颜色配置。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
It needs Netlify Identity(https://app.netlify.com/sites/your-site/settings/identity#registration ) and Git Gateway(https://app.netlify.com/sites/your-site/settings/identity#services) enabled.
README 原文
Create posts in the `/src/drafts` directory with a future `date` in the `YYYY-MM-DD` format, and let a specially crafted [Github Action](https://github.com/marketplace/actions/ssg-publish-drafts) take care of auto-publishing it on your specified date.
README 原文
https://github.com/lgtm-migrator/TEMPLATE_ASTRO_INK_JSAY_HUGO/blob/main/LICENSEhttps://github.com/lgtm-migrator/TEMPLATE_ASTRO_INK_JSAY_HUGO/blob/main/README.mdRemember to restart when developing, and enable just one group of colors at a time.
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-11。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 58 / 100
- 技术栈
- Astro · Hugo
- 网站类型
- 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2022-11-09
- 截图检查日期
- 2026-10-11
目前没有记录演示链接。请依据仓库说明在本地评估;仅凭截图无法确认交互行为。
目录记录的主要技术栈是 Astro。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
审核声明: [email protected] · 2026-10-13
查看当时使用的来源资料
SHA-256: 5d3c91d1800c90fce382d883e799dc769052fb85be9f752d56414ab33935b6c9
2026-10-11T21:34:30.837Z
来源文件 / 仓库# Astro - Ink
Crisp, minimal, personal blog theme for Astro
<img src="./public/astro-banner.png" alt="Astro Banner" />
Astro Ink is a minimal theme created to serve minimalistic markdown-based blog needs. It ships with almost all the basic Astro components that you might need while creating light-weight, performant, personal blogs, that focus on shipping less Javascript by default.
It's hugely inspired by [Hugo](https://github.com/knadh/hugo-ink)'s Ink theme and strives to remain light, while providing the basis for a beautiful, minimal blog.
## Features
- __Minimal, Crisp, Markdown-Blog Ready__
- __Uses `astro@next`__ - It uses Astro's [next](https://next.docs.astro.build/getting-started) APIs under the hood
- __Svelte Ready__ - In its effort to remain light-weight, performant, and more approachable from Astro's POV, Svelte is used for interactive components like the theme switcher
- __Modular__ - The structure is highly modular, with components doing just one job, and one job well.
- __Collection + Dynamic Pages__ - It's ready with Next.js like dynamic pages, to support a tag-based classification system with paginated results, all configurable
- __Dark Mode & Color Codes (beta)__ - It supports dark mode, and 6+ color modes that could be configured using `tailwind.config.js`. Remember to restart when developing, and enable just one group of colors at a time. To customize the blog section, add any of the Tailwind Typography's `prose-{color}` classes as referred [here](./src/components/Prose.astro)
- __Netlify CMS<sup>*NEW</sup>__ - Add/Edit/Update all the posts in the `/blog` directory by visiting `your-site.netlify.com/admin` ex: [astro-ink.netlify.app/admin](https://astro-ink.netlify.app/admin) with your Netlify credentials. It needs Netlify Identity(https://app.netlify.com/sites/your-site/settings/identity#registration
) and Git Gateway(https://app.netlify.com/sites/your-site/settings/identity#services) enabled. (_Write-up coming soon!_)
- __Future Posts<sup>*NEW</sup>__(with Github Actions) - Create posts in the `/src/drafts` directory with a future `date` in the `YYYY-MM-DD` format, and let a specially crafted [Github Action](https://github.com/marketplace/actions/ssg-publish-drafts) take care of auto-publishing it on your specified date. You can configure the check interval in [Github Action](https://github.com/one-aalam/astro-ink/blob/main/.github/workflows/main.yml).(_Write-up coming soon!_)
- __Client-Side Search<sup>*NEW</sup>__ - Allow your users get to your blog posts quickly with client-side search feat. Lunr.js
## Built with Astro Ink
- [jamesperkins.dev](https://www.jamesperkins.dev/) - Personal site of developer, YouTube instructor [James R Perkins](https://twitter.com/james_r_perkins)
> know a site built with Astro Ink? Let me know on [Twitter](https://twitter.com/aftabbuddy)
## Wanna learn Astro while building Ink?
Head over to `aalam.in/blog` and learn
- [How to set Astro up and get it running with essential defaults for styling, prototyping, and incremental deployments](https://aalam.in/blog/astro-get-up-and-running)
- [Managing presentational components and creating Astro pages](https://aalam.in/blog/astro-and-site-strcuture)
- [Feeding local as well as remote data to the Astro pages](https://aalam.in/blog/astro-and-data)
- [Putting interactivity where you absolutely cannot do without it in Astro](https://aalam.in/blog/astro-and-interactivity)
- [Creating data-driven, dynamic pages and paginated results in Astro](https://aalam.in/blog/astro-and-dynamic-pages)
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

astrowind
⭕️ AstroWind: A free template using Astro v7 and Tailwind CSS v4. Astro starter theme.
Astro · 博客

astro-paper
基于 Astro 的博客主题,使用 Markdown/MDX 内容、Tailwind 样式和 Pagefind 搜索。搜索属于博客功能,不代表独立工具站产品。
Astro · 博客

fuwari
✨A static blog template built with Astro.
Astro · 博客

Firefly
Firefly 是一款基于 Astro 的静态博客主题,由 CuteLeaf 在 saicaca 的 Fuwari 模板基础上二次开发,主打清新美观的视觉风格。
Astro · 博客

astro-theme-cactus
面向博客与笔记发布的 Astro 启动模板,支持 Markdown/MDX 内容、Tailwind 样式与 Pagefind 搜索,主要用途是发布文章和笔记。
Astro · 博客

astrofy
Astrofy is a free and open-source template for your Personal Portfolio Website built with Astro and TailwindCS…
Astro · 作品集
