blob: 151f915147814674e8aa2b6837cafb92a0cc6a8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
<p align="center">
<img src="banner.jpg">
</p>
<p align="center">
<img src="https://img.shields.io/badge/build-passing-brightgreen.svg?style=flat-square">
<img src="https://img.shields.io/badge/made%20with-%E2%9D%A4-ff69b4.svg?style=flat-square">
<img src="https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square">
<img src="https://img.shields.io/badge/for-Typecho-blueviolet.svg?style=flat-square">
<img src="https://img.shields.io/badge/version-1.2.4-red.svg?style=flat-square">
</p>
<br>
---
> **请下载 [Releases](https://github.com/BigCoke233/miracles/releases) 页面的最新发行包,使用前先看 [Wiki](https://github.com/BigCoke233/miracles/wiki),wiki 有的问题一律不解答;禁止删除主题版权信息**<br>同时,主题的 Telegram 频道已开启,可以获取主题最新消息,推送作者博客更新,点此加入:[Miracles News](https://t.me/eltracer)<br>开放了一个议题,用于~~民主~~决策主题的更新方向,点击 [这里](https://github.com/BigCoke233/miracles/issues/17) 进入
# 特色
- 响应式 / 自适应设计
- Pjax 全站无刷新
- 支持系统切换夜间模式
- 阅读调整字号 / 思源系列字体 & 日落模式
- 前台登录 / 快捷后台通道
- 图片懒加载
- 代码高亮 / 行号
- 两种可供选择的导航栏(顶部导航栏 / 侧边栏)
- 灵活的友情链接功能
- 方便排版的短代码
- 后台设置备份
- 文章浏览数 / 字数统计
- 内置 Live2d(将在 1.3.0 版本移除)
- 简约大气的设计
- 一个完善的 wiki(强调)
- More to find
# 使用
1. 下载**最新的 [Release](https://github.com/BigCoke233/miracles/releases)**
2. 解压后,**确认目录名为`Miracles`(M 大写)**
3. 将文件夹放入Typecho根目录下的`usr/themes/`
4. 到后台启用主题
5. **根据 wiki(可选)** 配置主题
<details><summary>使用开发版</summary><br>
直接下载仓库,或者使用 git 命令行进行克隆
```git
$ git clone https://github.com/BigCoke233/miracles
```
> 不推荐使用开发版,因为可能有不确定的不稳定因素,并且不一定有有利改动<br>如果你使用开发版出现任何问题,欢迎通过 issue 反馈,在等待回复期间请使用发行版
</details>
# 遇到问题
如果在使用过程中遇到了任何问题,可以先阅读本主题的[Wiki](https://github.com/BigCoke233/miracles/wiki)<br>
并进行一些简单的确认:清理浏览器缓存,更换网络环境,确保Console内没有提示访问不到文件等自身原因。<br>
在确认你遇到的现象确实是一个Bug后,请在[Issues](https://github.com/BigCoke233/miracles/issues)提交问题<br>
并为该问题尽可能的描述清楚,并提供一些有关信息。
# 鸣谢
> 这些都是在开发过程中给予我帮助的项目和大佬!
## 开源项目
- [jQuery](https://github.com/jquery/jquery)(若干开源项目和主题内一些 js 的前置)
- [FancyBox](https://github.com/fancyapps/fancybox)(文章图片灯箱)
- [Highlight.js](https://github.com/highlightjs/highlight.js)(代码高亮)
- [Hightlight-line-numbers](https://github.com/wcoder/highlightjs-line-numbers.js)(代码行号)
- [Pjax](https://github.com/defunkt/jquery-pjax)(Pjax 预加载)
- [Nprogress](https://github.com/rstacruz/nprogress)(Pjax 滚动条动画)
- [OwO](https://github.com/DIYgod/OwO)(评论 OwO 表情)
- [LazyLoad](https://github.com/tuupola/lazyload)(图片懒加载)
- [Pangu.js](https://github.com/vinta/pangu.js)(分割中英文字符)
## 大佬
常提交 Pull Requests 的大佬:
- [@outtimes](https://github.com/outtimes)(时光)
在我需要帮助时给予回应的大佬:
- [@ohmyga233](https://github.com/ohmyga233)(ohmyga)
- [@AlanDecode](https://github.com/AlanDecode)(熊猫小 A)
- [@gfwyuexia](https://github.com/gfwyuexia)(枂下)
- [@jrotty](https://github.com/jrotty)(泽泽)
# 相关
演示站点:[我的博客](https://guhub.cn) | 以及 Sponsor 中的站点链接
介绍文章:[Miracles —— 生为奇迹](https://guhub.cn/p/miracles.html)
说明文档:[Wiki](https://github.com/BigCoke233/miracles/wiki)
更新日志:[change-log.md](docs/change-log.md)
更新计划:[plan.md](docs/plan.md)(包括已知的 Bug)
# 版权
© [Eltrac](https://github.com/BigCoke233) | Under MIT License
|