Jekyll blog on YAT theme
Find a file
2021-05-26 21:51:32 +08:00
.github chore: update FUNDING.yml 2020-12-08 12:40:29 +08:00
_data fix: correct typos in language settings (#34) 2021-05-13 12:03:32 +08:00
_includes feat: better post excerpt of pagination 2021-05-26 21:46:29 +08:00
_layouts feat: add night mode (#4) 2020-10-03 11:55:14 +08:00
_posts feat: add mathjax-test.md 2021-04-20 22:41:12 +08:00
_sass feat: support to customize the brand color 2021-05-26 21:51:32 +08:00
assets feat: support to customize the brand color 2021-05-26 21:51:32 +08:00
.editorconfig release: v1.0.0 2019-09-11 12:21:17 +08:00
.gitignore chore(all): initial commit 2019-08-03 17:14:05 +08:00
404.html release: v1.0.0 2019-09-11 12:21:17 +08:00
_config.yml feat: support to customize the brand color 2021-05-26 21:51:32 +08:00
about.html chore: update about page 2020-10-18 22:58:28 +08:00
archives.html chore: change page title 2019-09-20 15:56:15 +08:00
categories.html chore: change page title 2019-09-20 15:56:15 +08:00
Gemfile chore: adjust theme configuration, etc 2019-09-12 18:38:59 +08:00
index.html feat: add default banner for home page 2020-08-31 17:12:20 +08:00
jekyll-theme-yat.gemspec release: v1.7.0 2021-01-08 12:31:14 +08:00
LICENSE.txt chore(all): initial commit 2019-08-03 17:14:05 +08:00
README.md docs: correct typo in README.md (#35) 2021-05-15 18:41:59 +08:00
tags.html chore: change page title 2019-09-20 15:56:15 +08:00


jekyll-theme-yat →~ jekyll

🎨 JEKYLL YAT THEME 🎨

Jekyll theme for elegant writers.

Github Pages Gem Version License: MIT Donate (Liberapay) Donate (Patreon) Donate (Ko-fi)

Built with ❤︎ by jeffreytse and contributors

Hey, nice to meet you, you found this Jekyll theme. Here the Yet Another Theme is a modern responsive theme, and it's quiet clear, clean and neat for writers and posts. If you like the theme, give it a star!

demo-screenshot

🌌 Night Mode

demo-screenshot

Features

  • Support beautiful Night Mode.
  • Modern responsive web design.
  • Full layouts home, post, tags, archive and about.
  • Uses font awesome 5 for icons.
  • Beautiful Syntax Highlight using highlight.js.
  • RSS support using Jekyll Feed gem.
  • Optimized for search engines using Jekyll Seo Tag gem.
  • Sitemap support using Jekyll Sitemap gem.
  • Complex and flexible table support using Jekyll Spaceship gem.
  • MathJAX and LaTeX optional support using Jekyll Spaceship gem.
  • Media (Youtube, Spotify, etc.) support using Jekyll Spaceship gem.
  • Diagram (PlantUML, Mermaid) support using Jekyll Spaceship gem.
  • Google Translation support.
  • New post tag support.

Also, visit the Live Demo site for the theme.

🛠️ Installation

There are three ways to install:

  • As a gem-based theme.
  • As a remote theme (GitHub Pages compatible).
  • Forking/directly copying all of the theme files into your project.

Gem-based Theme Method

Add this line to your Jekyll site's Gemfile:

gem "jekyll-theme-yat"

And add this line to your Jekyll site's _config.yml:

theme: jekyll-theme-yat

And then execute:

$ bundle

Or install it yourself as:

$ gem install jekyll-theme-yat

Remote Theme Method with GitHub Pages

Remote themes are similar to Gem-based themes, but do not require Gemfile changes or whitelisting making them ideal for sites hosted with GitHub Pages.

To install:

Add this line to your Jekyll site's Gemfile:

gem "github-pages", group: :jekyll_plugins

And add this line to your Jekyll site's _config.yml:

# theme: owner/name --> Don't forget to remove/comment the gem-based theme option
remote_theme: "jeffreytse/jekyll-theme-yat"

And then execute:

$ bundle

GitHub Pages without limitation

GitHub Pages runs in safe mode and only allows a set of whitelisted plugins/themes. In other words, the third-party gems will not work normally.

To use the third-party gem in GitHub Pages without limitation:

Here is a GitHub Action named jekyll-deploy-action for Jekyll site deployment conveniently. 👍

📚 Usage

Add or update your available layouts, includes, sass and/or assets.

✏️ Development

To set up your environment to develop this theme, run bundle install.

Your theme is setup just like a normal Jekyll site! To test your theme, run bundle exec jekyll serve and open your browser at http://localhost:4000. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.

When your theme is released, only the files in _data, _layouts, _includes, _sass and assets tracked with Git will be bundled. To add a custom directory to your theme-gem, please edit the regexp in jekyll-theme-yat.gemspec accordingly.

🔫 Contributing

Issues and Pull Requests are greatly appreciated. If you've never contributed to an open source project before I'm more than happy to walk you through how to create a pull request.

You can start by opening an issue describing the problem that you're looking to resolve and we'll go from there.

🌈 License

This theme is licensed under the MIT license © JeffreyTse.