简体中文丨[繁体中文](README_zh-Hant.md)丨[English](README_en-US.md)丨[Français](README_fr.md)丨[日本語](README_ja.md)

<div align="center">

   <img src=".github/logo.svg" alt="Solitude logo" height="200">

   <h1>Hexo Theme Solitude</h1>

   一款优雅的 Hexo 主题，支持懒加载、PWA、Latex以及多种评论系统。
   
   主题设计由 [@张洪Heo](https://github.com/zhheo) 全权授权

![npm package](https://img.shields.io/npm/v/hexo-theme-solitude?logo=npm)
![release](https://img.shields.io/github/package-json/v/valor-x/hexo-theme-solitude/master?color=%231ab1ad&label=release)
![license](https://img.shields.io/github/license/valor-x/hexo-theme-solitude?color=FF5531)
[![Stars](https://img.shields.io/github/stars/valor-x/hexo-theme-solitude)](https://github.com/valor-x/hexo-theme-solitude/stargazers)
[![NPM all downloads](https://img.shields.io/npm/dy/hexo-theme-solitude?color=white)](https://www.npmjs.com/package/hexo-theme-solitude)

![hexo version](https://img.shields.io/badge/hexo-7.0.0+-blue?logo=hexo&logoColor=white)
![node version](https://img.shields.io/badge/node-14.0.0-white?logo=node.js&logoColor=white)

![Latex](https://img.shields.io/badge/latex-20B2AA?logo=Latex)
![Ads](https://img.shields.io/badge/Google_Ads-black?logo=googleads)
![algolia](https://img.shields.io/badge/algolia-457AFF?logo=algolia)

![cdnjs](https://img.shields.io/badge/cdnjs-orange?logo=Cloudflare&logoColor=white)
![A11y](https://img.shields.io/badge/A11y-green?logo=%C3%8Ele-de-France%20Mobilit%C3%A9s&logoColor=white)
![mermaid](https://img.shields.io/badge/mermaid-ff3670?logo=mermaid&logoColor=white)
[![pwa](https://img.shields.io/badge/pwa-red?logo=pwa)](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps)

[![twiter](https://img.shields.io/badge/Twitter-gray?logo=x)](https://twitter.com/efu_oo)
[![TG](https://img.shields.io/badge/Telegram-gray?logo=Telegram&logoColor=white)](https://t.me/solitudePro)
[![Discord](https://img.shields.io/discord/1218118131428495430?label=Discord&logo=Discord&labelColor=white&color=black)](https://discord.gg/Y8VEvVgW)

![JetBrains](https://img.shields.io/badge/jetbrains-support-black?logo=jetbrains)
![DuoLingo](https://img.shields.io/badge/duolingo-support-black?logo=duolingo&logoColor=white)

[![gitee](https://img.shields.io/badge/Gitee-red?logo=gitee)](https://gitee.com/nsjjd_w/hexo-theme-solitude)
[![gitlab](https://img.shields.io/badge/GitLab-blue?logo=gitlab)](https://gitlab.com/efu/hexo-theme-solitude)

[预览](https://www.efu.me/) 丨  [文档](https://docs.efu.me/)

</div>

![Screenshot](.github/screenshot.png)

## 特性

- 页面懒加载（Pjax）、图片懒加载（LazyLoad）、离线应用（PWA）
- 评论(Twikoo、Waline、Valine、Artalk)，支持双评论
- 昼夜切换(ColorMode)
- 灯箱(medium-zoom、fancybox)
- 数学公式(Latex)
- 特色页面：即刻短文、我的装备、在线工具、音乐馆、友链鱼塘、相册页、豆瓣页
- 文章功能：AI 摘要、代码高亮

## Todo

- [x] Artalk 评论
- [x] 双评论
- [x] 相册

> 如有問題請提 [issue](https://github.com/valor-x/hexo-theme-solitude/issues)

## 应用

1. 使用 NPM 包进行安装
      ```bash
      npm i hexo-theme-solitude
      ```
2. 应用主题
      ```yaml
      theme: solitude
      ```
   
前往 [文档](https://docs.efu.me/) 获取更多信息。

## 赞助者

<p align="center">
  <a href="https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg">
    <img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg' alt="赞助者"/>
  </a>
</p>

## 版权

[MIT](./LICENSE) License &copy; 2023-至今 [Efu](https://github.com/efuo)