CN-ycx / typecho-theme-sagiri-modify

🍰 As lovely as sagiri

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sagiri

As lovely as sagiri

Preview | Documentation | Download | (CN DOC) 中文文档

PJAX Version | Change Log | Donate 捐赠支持

As lovely as sagiri, based on hexo-theme-sagiri

stars npm jsdelivr license donate

Demo

shot

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

  1. Download from releases to your blog's theme folder.
  2. 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

  • Create Page.

  • Select the corresponding template and fill in the correct path

search.html Without restriction archive.html category.html

Multi-language Support

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)

    will render video shot

  • ...

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

Blog @OZOO · GitHub @shiyi · Twitter @shiyi

Donate

Thank you for your support :-)

Contribute

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

Contribute List

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

About

🍰 As lovely as sagiri


Languages

Language:PHP 83.4%Language:CSS 14.2%Language:JavaScript 2.4%