Skip to content

shiyiya/typecho-theme-sagiri

Repository files navigation

Sagiri

As lovely as sagiri

Download | 中文文档 | Donate
As lovely as sagiri, based on hexo-theme-sagiri

@bylin/typecho-theme-sagiri

npm jsdelivr license donate

typecho-theme-sagiri - deprecated

npm jsdelivr

Demo

shot

Installation

  1. Download from release to your blog's theme folder and change the folder name to sagiri.
  2. Enable it in the background management.
  • 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

Configuration

Most of Feature was off, turn on by yourself.

  • Instantclick
  • Code Highlight
  • Lazy load Image
  • Short Code
  • OwO (Comment Emoji)

Code Highlight

Using Prism.js as code highlighting.

Multi-language

Short Code

  • video Short Code

    - m3u8,flv,mdp,mp4,etc.
      [vplayer](https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8)
    
    - local video
      [lplayer](/usr/uploads/2019/11/330578098.mp4)
    
    - bilibili video
      [bplayer](https://www.bilibili.com/video/BV1UT411t77g)
    
    - youtube video
      [yplayer](https://www.youtube.com/watch?v=wv1bHjMGUBY)
    • ...

Others

  • Index Post Card Home Article Overview The default maximum output is Infinity characters, you can manually add the truncation <!-- more --> control output. more

    ## 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)

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).

· GitHub @shiyi

Donate

Thank you for your support :-)

Contribute

If you feel like to help us build a better Sagiri, you can

License

The All Html,CSS,JavaScript,and PHP files are licensed under the GNU General Public License v3:

http://www.gnu.org/licenses/gpl-3.0.html