文章以羊皮纸信件风格排版,整体为海盗主题视觉
captains-log — Eleventy 博客模板
作者 tskarhed
基于 Eleventy 的博客启动器,文章以羊皮纸信件风格呈现,适合海盗主题或个人日志类站点。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
基于 eleventy-base-blog starter 构建的 Eleventy 博客启动器
文章只需添加 post 标签即可进入集合,nav 标签即可加入顶部导航
内容格式不限于 Markdown,可在 .eleventy.js 的 templateFormats 中配置
提供 base、home、post 三个布局与可复用的 postlist.njk 文章列表组件
含 feed/feed.njk 订阅源模板,演示 _data/metadata.json 全局数据用法
模板详细介绍
captains-log 是一个 Eleventy 博客主题与启动器,文章排版模仿旧式信件,整体走羊皮纸质感的海盗风格。项目基于 eleventy-base-blog starter 构建,仓库采用 MIT 许可,可免费使用、修改、商用和分发该版本代码,分发时需保留版权声明与完整 MIT 许可声明。
内容组织上,文章放在 posts/ 目录(也可放在任意目录),只需添加 post 标签即可进入文章集合;给模板添加 nav 标签即可出现在顶部导航,index.njk 与 about/index.md 是现成示例。内容格式不限于 Markdown,支持的类型在 .eleventy.js 的 templateFormats 中配置;css、png 等非模板扩展名会被原样复制到输出目录并保持目录结构。
模板结构包含三个布局:base.njk 提供顶层 HTML 结构,home.njk 为首页模板,post.njk 为文章模板,后两者都包裹在 base.njk 中;_includes/postlist.njk 是可复用的文章列表组件,feed/feed.njk 提供文章订阅源并演示了 _data/metadata.json 全局数据文件的用法。
限制方面,仓库最后更新于 2021 年,未提供依赖清单核对之外的框架版本信息;演示图片、字体、图标等第三方素材需按各自许可单独核对,域名、托管等外部服务可能另行收费。
适合你的项目吗?
适用场景
- 搭建海盗、航海或复古信件风格的个人博客
- 以 Eleventy 为基础快速起步的静态博客项目
- 需要自定义内容格式与导航结构的写作站点
- 为文章提供订阅源输出的博客
适合人群
- 喜欢羊皮纸与信件视觉风格的博客作者
- 使用 Eleventy 并希望有现成布局与列表组件的开发者
- 需要 MIT 许可下可自由修改的博客模板的用户
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
运行 npx eleventy 构建,npx eleventy --serve 本地预览,npx eleventy --watch 监听模板变化自动构建
- 2
文章放入 posts/ 或任意目录并添加 post 标签;添加 nav 标签可进入顶部导航
- 3
在 .eleventy.js 的 templateFormats 中配置支持的模板类型;css、png 等非模板文件会被原样复制
- 4
参考 about/index.md 添加内容页面,参考 index.njk 使用 postlist.njk 文章列表组件
- 5
演示图片、字体、图标等第三方素材需按各自许可单独核对
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 该项目基于 eleventy-base-blog starter 构建,属于衍生作品;分发时需同时遵守上游 starter 的许可与署名要求。
- 内容模板类型受 .eleventy.js 中 templateFormats 配置限制,非模板扩展名(如 css、png)仅被原样复制,不会经过模板处理。
- 文章必须添加 post 标签才会进入文章集合,否则不会出现在文章列表与订阅源中。
- 模板需添加 nav 标签才会出现在顶部导航,未添加则不会显示在导航中。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
Based on the [eleventy-base-blog starter](https://github.com/11ty/eleventy-base-blog).
README 原文
Content can be any template format (blog posts needn’t be markdown, for example). Configure your supported templates in `.eleventy.js` -> `templateFormats`.
README 原文
They need only the `post` tag to be added to this collection.
README 原文
https://github.com/tskarhed/captains-log/blob/master/LICENSEhttps://github.com/tskarhed/captains-log/blob/master/README.mdAdd the `nav` tag to add a template to the top level site navigation.
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 73 / 100
- 技术栈
- Eleventy
- 网站类型
- 博客 · 启动器
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2021-04-14
- 截图检查日期
- 2026-10-02
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Eleventy。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 0c368250b8cfecd96c7fc34217e9e60907ea34f5a7118b45408350e71750bd4d
2026-10-02T11:08:59.319Z
来源文件 / 仓库# captains-log An eleventy blog theme with parchment-styled blog posts. If you're into pirate-themed sites, then this is your jam! Based on the [eleventy-base-blog starter](https://github.com/11ty/eleventy-base-blog). [](https://app.netlify.com/sites/captain-log/deploys) ### Run Eleventy ``` npx eleventy ``` Or build and host locally for local development ``` npx eleventy --serve ``` Or build automatically when a template changes: ``` npx eleventy --watch ``` Or in debug mode: ``` DEBUG=* npx eleventy ``` ### Implementation Notes * `about/index.md` shows how to add a content page. * `posts/` has the blog posts but really they can live in any directory. They need only the `post` tag to be added to this collection. * Add the `nav` tag to add a template to the top level site navigation. For example, this is in use on `index.njk` and `about/index.md`. * Content can be any template format (blog posts needn’t be markdown, for example). Configure your supported templates in `.eleventy.js` -> `templateFormats`. * Because `css` and `png` are listed in `templateFormats` but are not supported template types, any files with these extensions will be copied without modification to the output (while keeping the same directory structure). * The blog post feed template is in `feed/feed.njk`. This is also a good example of using a global data files in that it uses `_data/metadata.json`. * This example uses three layouts: * `_includes/layouts/base.njk`: the top level HTML structure * `_includes/layouts/home.njk`: the home page template (wrapped into `base.njk`) * `_includes/layouts/post.njk`: the blog post template (wrapped into `base.njk`) * `_includes/postlist.njk` is a Nunjucks include and is a reusable component used to display a list of all the posts. `index.njk` has an example of how to use it.
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

eleventy-base-blog
A starter repository for a blog web site using the Eleventy static site generator.
Eleventy · 博客

eleventy-garden
:seedling: A starter site for building a mind garden with eleventy
Eleventy · 启动器

eleventastic
An Eleventy Starter Kit
Eleventy · 启动器

neat-starter
Starter Template for Netlify CMS, Eleventy, Alpine JS & Tailwind CSS
Eleventy · 启动器

Eleventy-Starter-Boilerplate
🚀 Eleventy Starter is production-ready with SEO-friendly for quickly starting a blog. ⚡ Built with Eleventy, …
Eleventy · 博客

eleventy-plus-vite
A clean and fast Eleventy Starter Project with Vite
Eleventy · 启动器
