ZOYKU火线榜

piharpi/jekyll-klise技术文档

:beach_umbrella: Klisé is a minimalist Jekyll theme for running a personal site or blog, light & dark mode support. (https://klise.vercel.app)

多语言回退提示:当前仓库原作者暂未发布本地化文档,已为您无缝切换至官方英文原版(English),排版及代码实例完整保真。
极速安装
git clone https://github.com/piharpi/jekyll-klise.git

Klisé

Klisé is minimalist Jekyll theme for running a personal site and blog running on Jekyll.
For demo klise.now.sh

Features

  • Light & Dark Mode support, follows OS preference by default 🌒
  • Customizable (using .scss)
  • Responsive (desktop, tab and mobile)
  • RTL / LTR text direction support
  • Mobile First Design
  • SEO Optimized
  • schema.org structured data (JSON-LD)
  • Images of post Organized (jekyll-postfiles)
  • Image lightbox (click an image in a post to zoom, no dependencies)
  • Image gallery (<div class="gallery">) — neat responsive rows of images
  • Generate Sitemap (jekyll-sitemap)
  • RSS Feed (jekyll-feed)
  • Syntax Highlighter (rouge)
  • Table of contents, opt-in per post with toc: true
  • Next & Previous Post
  • Comment layout, enable in frontmatter if you wish
  • Google analytics
  • HTML Minify (jekyll-compress-html)
  • W3C Validated
  • Lighthouse and PageSpeed Passed

Lighthouse Result

Installation

Requires Ruby >= 3.0 and Jekyll ~> 4.4.

Run local server:

$ git clone https://github.com/piharpi/jekyll-klise.git
$ cd jekyll-klise
$ bundle install
$ bundle exec jekyll serve

Navigate to localhost:4000. You're Welcome, Fork and be Stargazer.

Deploy to Netlify Deploy with Vercel Deploy to Azure button

Table of contents

Add toc: true to a post's front matter to render an automatic table of contents (built from its h2/h3 headings) above the article:

---
title: My post
toc: true
---

Text direction (RTL)

Set the site-wide direction in _config.yml:

direction: rtl # "ltr" (default) | "rtl"

You can override it per page/post in the front matter with direction: rtl. Post content also resolves its direction per paragraph, so an LTR site can host individual RTL posts (and vice versa) without extra markup.

Limitation

Contributing

If you see any typos or formatting errors in a post, or want to helping reduce backlogs or any other issue that needs to be addressed, please do not hesitate to open a pull request and fix it!, please read contributing before PR.

Yeaaa feel free to open a pull request.

Support

ko-fi saweria.co

License

This project is open source and available under the MIT License.

文档镜像归档自 GitHub 官方源路径 · 访问原项目 GitHub
最后同步快照:2026-11-09