New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

hexo-theme-delicate

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-theme-delicate

simple but delicate theme for Hexo

latest
Source
npmnpm
Version
4.0.1
Version published
Weekly downloads
8
14.29%
Maintainers
1
Weekly downloads
 
Created
Source

hexo-theme-delicate

! 本主题处于 version4 重构开发阶段 !

使用

方法一

npm 下载使用:

npm i hexo-theme-delicate

然后在根目录的 _config.yml 下配置 theme: delicate 并重启项目

方法二 推荐

git clone 本主题的文件:

git clone https://github.com/can-dy-jack/hexo-theme-delicate.git themes/delicate

然后在根目录的 _config.yml 下配置 theme: delicate 并重启项目

主题配置

到主题下的配置文件 _config.yml 进行配置。

如果您是使用方法一进行安装的,需要新建 _config.delicate.yml 文件,并将主题仓库下的配置文件复制进去进行配置。这种方式的缺点就是每次更新主题配置并不会热更新,需要重启项目,所以推荐方式二进行主题安装!

使用注意事项

本主题支持的语言如下

  • 中文简体 zh-CN
  • English en

近期更新

done

  • stylus mixins 和 functions
  • 标签和分组颜色支持自定义
  • 优化阅读更多按钮设计
  • 页面 title 信息
  • 更新hexo官网主题图片

Giscus 评论功能

只有在文档的 Front-matter 里加入

giscus: true

才会在本页面开启 Giscus

公式支持

使用CDN支持 mathjaxkatex

开启方式:在文档的 Front-matter 里加入:

mathjax: true

katex: true

即可。

不需要渲染公式的文章请不要开启!避免影响页面加载速度!

katex渲染示例:

$$\begin{pmatrix}a_{11} & a_{12} & a_{13}\ a_{21} & a_{22} & a_{23}\ a_{31} & a_{32} & a_{33}\end{pmatrix}$$

---

$$a^2+b^2=c^2$$

katex.png

注:本主题使用CDN加载公式转换脚本的方式支持公式。
您可以在博客根目录下安装hexo-filter-mathjaxhexo-math等插件来支持公式,这样就可以在打包的时候就完成公式的渲染,加快请求速度。(使用插件的话记得关闭主题的公式支持)

TODOs

  • 代码块复制按钮,mac样式
  • i18n
  • 更新文章

BUGs 🐛

  • 首页无公式渲染

In progress

  • scripts
  • 置顶文章功能
  • 移动适配

Planning ~

  • 接入更多评论系统
  • 广告支持
  • 黑暗模式
  • RSS

推荐插件

主题扩展

Keywords

hexo

FAQs

Package last updated on 22 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts