Hey, nice to meet you, you found this Jekyll theme. Here the
YAT (Yet Another Theme) is a modern responsive theme. It's quite
clear, clean and neat for writers and posts. If you are an elegant
writer and focus on content, don't miss it.
Like this elegant theme? You can give it a star or sponsor me!
I will respect your crucial support and say THANK YOU!
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 optionremote_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.
请发表评论