Sagiri
As lovely as sagiri
Preview |
Documentation |
Download |
(CN DOC) 中文文档
PJAX Version |
Change Log |
Donate 捐赠支持
As lovely as sagiri, based on hexo-theme-sagiri
Demo
There must be no plagiarism or excessive reprinting; at least not a few months can not be accessed & change the theme, and that's it!
If you think you meet the above conditions, please submit the relevant PR
(How to PR)
Installation
- Download from releases to your blog's theme folder.
- Enable it in the background management, if an error occurs, rename the folder to sagiri
- If you need to update the theme, download the latest version, then overwrite the original file to complete the update, some new features need to be enabled in the background to take effect.
git clone https://github.com/shiyiya/typecho-theme-sagiri.git
Features
Instantclick
Rich Code Highlight Theme Choices
Using Prism.js as code highlighting. sagiri default comes with 5 themes & supported 32 language, if you need more, just go here to download.
- Supported language: markup+css+clike+javascript+c+csharp+cpp+ruby+docker+markup-templating+flow+git+go+haskell+java+json+kotlin+markdown+lisp+lua+php+sql+powershell+python+typescript+rust+scala+scheme+pug+swift+yaml+vi
Special Page
search.html | Without restriction | archive.html | category.html |
- Tencent Group: 861379856
Multi-language Support
- Need more language support, Welcome contribution. (How to PR)
- Add a translation
Lazy load Image
![Image Descript](image URL)
//example
![how-to-create-archive](https://website-href-/your/path/file.png)
Short Code Support
-
video Short Code
- bilibili video [bplayer](https://www.bilibili.com/video/av68718423) - local video [lplayer](/usr/uploads/2019/11/330578098.mp4) - youtube video [yplayer](https://www.youtube.com/watch?v=wv1bHjMGUBY)
-
...
Others Setting
-
Index Post Card Home Article Overview The default maximum output is Infinity characters, you can manually add the truncation
<!-- more -->
control output.⬇ ⬇ ⬇ example (Article content)
## hello world <!--more--> **I will not show it on the single page** ~~Can you find me?~~
-
Article thumbnail weight of the thumbnail: Article field -> The first Upload Image of Article -> Image link in the article -> Random Image
Link
Create a template before this, the content format is as follows
- ![avatar descript](avatar href)[href descript](href)<hr> descript
- [title](href) <hr> descript
- [title](href)
Header Menu Icon
- Home <-> 主页
- Comments <-> 留言
- About <-> 关于
- Link <-> 友链
- Time
Comment Emoji
How to import custom Emoji ?
Author
typecho-theme-sagiri © shiyi, Released under the GPL-3.0 License.
Authored and maintained by DIYgod with help from contributors (list).
Donate
Thank you for your support :-)
Contribute
If you feel like to help us build a better Sagiri, you can
- Write a plugin
- Submit a tutorial
- Report a bug | Feature request
- Add a translation
Contribute List
License
The All Html,CSS,JavaScript,and PHP files are licensed under the GNU General Public License v3: