Jekyll
theme for elegant writers.
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!
home
, post
, tags
, archive
and about
.Also, visit the Live Demo site for the theme.
There are three ways to install:
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 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 "jekyll-remote-theme", 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"
# Add the following to activate the plugin
plugins:
- jekyll-remote-theme
And then execute:
$ bundle
You need to update the option of github workflow file .github/workflows/build-jekyll.yml
, especially to ensure the value of jekyll_baseurl
is correct.
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. 👍
Add or update your available layouts, includes, sass and/or assets.
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.
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.
This theme is licensed under the MIT license © JeffreyTse.