Terminus

一个注重无障碍的 Zola 主题,采用深色配色和复古终端风格,支持多语言、零必需 JavaScript、优雅连字字体,以及满分基线 Lighthouse 评分。

Try the demo now: https://ebkalderon.github.io/terminus/

Screenshot of the Terminus demo website on a desktop browser

Terminus 大体移植自 Radek Kozieł 的 Terminal Theme for Hugo but with several key differences. Credit to the zerm and tabi themes for inspiring some of these changes. Hugo](https://github.com/panr/hugo-theme-terminal),但做了若干关键改动。也感谢 zermtabi 主题带来的灵感。

功能

快速开始

手动安装

  1. Initialize a Git repository in your Zola project directory, if you haven't already:
    git init
  2. Add the theme as a Git submodule:
    git submodule add https://github.com/ebkalderon/terminus.git themes/terminus
  3. Enable the theme in your config.toml:
    theme = "terminus"
  4. Set a website title in your config.toml:
    title = "Your Site Title"
  5. Create a text file named content/_index.md. This file controls how your home page looks and behaves. Choose exactly one of the following options:
    1. Serve blog posts from /:
      +++
      title = "Home"
      paginate_by = 5  # Show 5 posts per page.
      +++
    2. Serve posts from a different path, e.g. blog/:
      +++
      title = "Home"
      
      [extra]
      section_path = "blog/_index.md"  # Where to find your posts.
      max_posts = 5  # Show 5 posts and a link to blog section on home page.
      +++

更新 Terminus

如以 Git 子模块方式安装,可运行以下命令更新 Terminus:

git submodule update --remote themes/terminus

许可证

本项目基于 MIT license 发布。