Create my personal website.
Based on Jekyll theme Hydejack.
If you want to build your site on GitHub Pages, check out the gh-pages
branch in the Hydejack Starter Kit repo.
For existing sites, you can instead set the remote_theme
key as follows:
# file: `_config.yml`
remote_theme: hydecorp/hydejack@v9.1.4
Make sure the plugins
list contains jekyll-include-cache
(create if it doesn't exist):
{:.note title="Important"}
# file: `_config.yml`
plugins:
- jekyll-include-cache
To run this configuration locally, make sure the following is part of your Gemfile
:
# file: `Gemfile`
gem "github-pages", group: :jekyll_plugins
gem "jekyll-include-cache", group: :jekyll_plugins
Note that Hydejack has a reduced feature set when built on GitHub Pages. Specifically, using KaTeX math formulas doesn't work when built in this way. {:.note}
Make sure you've cd
ed into the directory where _config.yml
is located.
Before running for the first time, dependencies need to be fetched from RubyGems:
$ bundle install
If you are missing the bundle
command, you can install Bundler by running gem install bundler
.
{:.note}
Now you can run Jekyll on your local machine:
$ bundle exec jekyll serve
and point your browser to http://localhost:4000 to see Hydejack in action.