• Stars
    star
    286
  • Rank 139,568 (Top 3 %)
  • Language
    CSS
  • License
    GNU General Publi...
  • Created over 3 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Argon-Theme 的 Hexo 移植版

Argon

Hexo-Theme-Argon

Argon-Theme 的 Hexo 移植版

关于

Hexo-Theme-Argon 移植自 WordPress 版 Argon 主题。

项目状态

目前没有精力维护移植版,只维护 Wordpress 版本。Wordpress 的新功能将不会来到 Hexo 版本,只进行必要的 BUG 修复。(很久没有使用 Hexo)

欢迎提交 Pull Request 贡献/移植新功能/修复 BUG。

使用

1. 安装并启用主题

  1. Hexo 根目录/themes 目录下 Clone 本 Repo。
git clone https://github.com/solstice23/hexo-theme-argon.git

安装 ejs 渲染器。

npm install hexo-renderer-ejs
  1. 重命名 Clone 后的文件夹为 argon

  2. Hexo 根目录/_config.yml 中将 theme 项改为 argon

2. 修改主题配置

  1. Hexo 根目录/themes/argon/_config.yml 复制到 Hexo 根目录/source/_data 文件夹中,并重命名为 argon.yml

  2. 修改复制后的配置文件

3. 配置搜索功能

  1. Hexo 根目录/themes 目录下执行
npm install hexo-generator-search --save
  1. Hexo 根目录/_config.yml 中添加选项
search:
  path: search.xml
  field: post
  content: true

更新

Hexo 根目录/themes/argon 目录中执行

git pull

文章内参数

Argon 支持给文章设定一些单独的参数,例如文章头图

参数名 解释
thumbnail 文章头图地址
first_image_as_thumbnail 该篇文章是否选用文中第一张图作为头图
after_post 文末附加内容
excerpt 文章自定义摘要

Hexo 版相比 Wordpress 版

  • 保留了 Wordpress 版的大部分特性
  • 相同的界面
  • 暂时不支持多语言(欢迎 PR)
  • 目前仅支持 Gitalk、giscus、waline 评论系统(欢迎 PR)

Telegram 频道

t.me/argontheme

自动推送更新消息以及其他关于 Argon 的消息

Readme 待完善...

更新日志

20201031 v1.0.2

  • 新增不蒜子用于统计访问人次和文章阅读量
  • 再次修复 Page 生成问题
  • 更改高亮显示颜色为红色
  • 修复 Gitalk 评论不加载问题
  • 修复文章目录不能数字+标题的问题

20200908 v1.0.1

  • 修复搜索结果点击后不会关闭问题
  • 修复手机搜索按钮重复问题
  • 修复 Page 生成问题

20200905 v1.0.0

  • 增加文章自定义摘要
  • 支持 More 标签
  • 修复 Gitalk 边距问题

20200822 v1.0.0.beta

  • 最初版本

More Repositories

1

argon-theme

📖 Argon - 一个轻盈、简洁的 WordPress 主题
PHP
4,019
star
2

refined-now-playing-netease

🎵 网易云音乐沉浸式播放界面、歌词动画 - BetterNCM 插件
JavaScript
330
star
3

osu-stats-signature

🏷 生成实时更新的 osu! 个人资料卡片 / Generate dynamic osu! profile cards
JavaScript
128
star
4

material-you-theme-netease

🎨 Material You | 动态取色 | 多种配色方案 - BetterNCM 主题
SCSS
104
star
5

purecolor

🎨 简单轻量的色板分享网站
JavaScript
61
star
6

osu-cursor

✨ osu!lazer 样式的前端自定义光标 / osu!lazer style custom cursor for web
JavaScript
16
star
7

osu-bar-overlay

⌨️ Visualize keyboard history for osu! in bar form
JavaScript
14
star
8

lyric-bar-netease

重新设计的软件内词栏 - BetterNCM 插件
JavaScript
13
star
9

mimi-radio

MIMI Songs Collection Website
JavaScript
12
star
10

argon-theme-showcase

JavaScript
11
star
11

search-on-osu

BetterNCM Plugin
9
star
12

LOJ-AC-Prob-Counter

批量统计多个 LOJ 用户 AC 数量和题目,并生成美观的 HTML 结果
Python
9
star
13

gpt-trans-netease

使用 ChatGPT 翻译歌词 - BetterNCM 插件
JavaScript
8
star
14

argon-theme-docs

Docs of Argon-Theme
7
star
15

solstice23

3
star
16

react-material-you

React material you components
JavaScript
3
star
17

music-sync

Sync songs from Youtube/Soundcloud to local files automatically with metadata
JavaScript
2
star
18

cdn

自用
Python
1
star
19

celeste-input-overlay-presets

🍓 Celeste 键位的 Input Overlay OBS 插件预设 / Input Overlay OBS plugin presets for Celeste
1
star
20

jquery-pjax-plus

jquery-pjax 的魔改版本,增加了一些新特性
JavaScript
1
star