This is the code for my personal website, built using Jekyll and deployed to Github Pages.
- Ruby v2.5.0 or higher (
ruby -v
)- On Mac OS, recommended to use a different version of ruby than the default install - see chruby and https://jekyllrb.com/docs/installation/macos/
- RubyGems (
gem -v
) - GCC and Make (check versions using
gcc -v
,g++ -v
, andmake -v
) - Jekyll (
gem install jekyll
)
$ bundle install
$ bundle exec jekyll serve --livereload
Since Jekyll is a static site generator, it has to build the site before we can view it. Run either of the following commands to build your site:
-
jekyll build
- Builds the site and outputs a static site to a directory called _site. -
jekyll serve
- Does jekyll build and runs it on a local web server at http://localhost:4000, rebuilding the site any time you make a change.
There are currently two places to add dynamic content:
- Positions (
/_positions
)- For adding new positions to the list of experience.
- Posts (
/_posts
)- For adding new blog posts
- Draft blog posts can be added under (
/_drafts
), usebundle exec jekyll serve --livereload --drafts
This project currently uses a modified version of the minima theme that comes out of the box with Jekyll.
All the Sass files live under /_sass
.
Templates for pages are found under _layouts
and related partials under _includes
.