面向长文博客,追求杂志或报纸特稿式的阅读体验
hexo-theme-ascent — Hexo 博客模板
作者 cjquines
Ascent 是一个面向长文博客的 Hexo 主题,强调杂志或报纸特稿式的阅读体验,支持菜单、RSS、字数统计、代码高亮、深浅色与衬线切换等配置。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 2
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
头部菜单链接可在主题配置中自定义
内置右下角设置面板,可切换无衬线与衬线、浅色与深色
可开关代码块样式与文章、归档页的字数显示
支持通过配置接入 RSS、Google Analytics 与 IntenseDebate 评论
采用 MIT 许可,允许使用、修改、商用和分发该版本代码
模板详细介绍
Ascent 是一个为长文博客设计的 Hexo 主题,作者认为多数 Hexo 主题并未把长文阅读体验作为核心目标,因此自行编写了 Ascent,让文章读起来更像杂志文章或报纸特稿。主题在仓库中明确标注为“opinionated”,即带有较强的主观设计取向。
主题通过 themes/ascent/_config.yml 提供配置项,包括自定义头部菜单链接、RSS 链接、首页“read more”文案、favicon 路径、右下角设置面板(无衬线/衬线、浅色/深色)开关、代码块样式开关、文章与归档页字数显示开关,以及 Google Analytics 和 IntenseDebate 评论的启用与账号配置。其中 RSS 需要安装 hexo-generator-feed,字数统计需要安装 hexo-wordcount。
安装方式为先用 hexo-cli 初始化站点,再将仓库克隆到 themes/ascent,最后把站点 _config.yml 中的 theme 设为 ascent。仓库采用 MIT 许可,演示站点提供了设计说明与 Markdown 格式示例。
适合你的项目吗?
适用场景
- 以长篇文字为主的个人博客
- 希望文章呈现杂志或报纸特稿版式的写作站点
- 需要浅色/深色与衬线/无衬线阅读切换的博客
- 使用 Hexo 并希望按主题配置调整菜单、RSS 与评论的站点
适合人群
- 写长文并重视阅读排版体验的博主
- 使用 Hexo 搭建静态博客的开发者
- 需要自定义头部菜单、RSS 与评论接入的站点维护者
- 接受主题带有较强设计取向、不追求高度可定制外观的用户
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
先执行 npm install -g hexo-cli 并用 hexo init <site> 初始化站点
- 2
将仓库克隆到 themes/ascent,再把站点 _config.yml 的 theme 设为 ascent
- 3
RSS 需安装 hexo-generator-feed,字数统计需安装 hexo-wordcount
- 4
Google Analytics 与 IntenseDebate 需在主题配置中填入各自的跟踪 ID 或站点 Key
- 5
演示图片、字体、图标等第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- RSS 功能依赖外部插件 hexo-generator-feed,需自行安装后才能使用该配置项。
- 字数统计功能依赖外部插件 hexo-wordcount,需自行安装后才能启用。
- 启用 Google Analytics 需自行提供跟踪 ID,属于外部服务,可能涉及账号与费用。
- 启用 IntenseDebate 评论需自行提供站点 Key,属于外部第三方服务。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
You need to have `hexo-generator-feed` installed, which you can do with `npm install hexo-generator-feed`.
README 原文
You need to have `hexo-wordount` installed, which you can do with `npm install hexo-wordcount`.
README 原文
Replace `UA-000000000-0` with your Google Analytics tracking ID, which you can find in the Google Analytics code.
README 原文
https://github.com/cjquines/hexo-theme-ascent/blob/master/LICENSE.mdhttps://github.com/cjquines/hexo-theme-ascent/blob/master/README.mdReplace `00000000000000000000000000000000` with the IntenseDebate site account, which you can find in Settings > Account > Site Key.
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-01。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 87 / 100
- 技术栈
- Hexo
- 网站类型
- 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2025-11-22
- 截图检查日期
- 2026-10-01
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Hexo。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 58de5987fe34602e2b3ebda783110f31caed5869415b361cbbc809b7b8781673
2026-10-01T03:25:33.444Z
来源文件 / 仓库# Ascent An opinionated Hexo theme for blogs with long blocks of text. [Demo.](https://cjquines.github.io/hexo-theme-ascent/) [](https://cjquines.github.io/hexo-theme-ascent/) It's best suited for blogs with a lot of longform writing, and it's designed to give the reader as smooth of a reading experience as possible. I wrote Ascent because it seemed that none of the Hexo themes available had this aim; unlike most Hexo themes, the focus of Ascent is to make posts that read like magazine articles or newspaper features. Read more about Ascent design [on the demo](https://cjquines.github.io/hexo-theme-ascent/2020/05/18/Ascent/). See how Ascent formats Markdown [on the demo](https://cjquines.github.io/hexo-theme-ascent/2020/05/18/Demo/). ## Installation ```bash npm install -g hexo-cli hexo init <site> cd <site> git clone https://github.com/cjquines/hexo-theme-ascent themes/ascent ``` Then set your `theme` in `_config.yml` to `ascent`. ## Configuration Here's what can be changed in `themes/ascent/_config.yml`: * `menu`. Header links can be customized by adding more keys inside `menu`: ```yaml menu: Home: / Archives: /archives Github: https://github.com/cjquines ``` * `rss`. Link to the generated RSS. You need to have `hexo-generator-feed` installed, which you can do with `npm install hexo-generator-feed`. * `excerpt_link`. The text of the "read more" link in the home page. * `favicon`. Path to the favicon. * `settings`. Toggles whether the settings (sans-serif/serif, light/dark) appear in the lower-right corner of the screen. * `highlight`. Toggles whether code blocks are styled. Changing this to `false` improves performance by a little bit. * `word_count`. Toggles whether word counts appear before a post, and in the archives. You need to have `hexo-wordount` installed, which you can do with `npm install hexo-wordcount`. * `google_analytics`. The `enable` key toggles whether Google Analytics is turned on. Replace `UA-000000000-0` with your Google Analytics tracking ID, which you can find in the Google Analytics code. * `intensedebate`. The `enable` key toggles whether IntenseDebate comments are turned on. Replace `00000000000000000000000000000000` with the IntenseDebate site account, which you can find in Settings > Account > Site Key.
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

hexo-theme-matery
A beautiful hexo blog theme with material design and responsive design.一个基于材料设计和响应式设计而成的全面、美观的Hexo主题。
Hexo · 博客

hexo-theme-cactus
:cactus: A responsive, clean and simple theme for Hexo.
Hexo · 博客

hexo-theme-volantis
A Wonderful Theme for Hexo.
Hexo · 博客

hexo-theme-aurora
Hexo Theme Aurora 是一款以极光色彩和渐变 UI 为核心的 Hexo 博客主题,整体走未来感路线。 它的首页采用杂志式网格布局,文章列表与精选区域层次分明,视觉上更接近个人媒体站点而非传统博客。
Hexo · 博客

hexo-theme-Claudia
Claudia 是一款为 Hexo 设计的博客主题,主打简洁外观与易配置。 它支持自动跟随设备深色模式,并在 README 中宣称拥有 90+ 的 Lighthouse 评分,适合追求轻量与性能的博客作者。
Hexo · 博客

hexo-theme-A4
A hexo theme that looks like an A4 paper.(一个类A4纸张质感的hexo博客主题。 )
Hexo · 博客
