This is more so some notes on how to update and develop my site.
- Run through install - https://jekyllrb.com/docs/installation/macos/
- Run
bundle update
to get the dependencies for the project. You might need to remove or update strict versions. - Run
bundle install
and confirm allgems
(packages) are installed - Run
bundle exec jekyll serve
to run locally
Run locally, confirm site looks like what you want then push to prod
repo/
|── _includes # Theme includes
├── _layouts # Theme layouts (see below for details)
├── _pages # Menu pages
├── _plugins # Any plugins the site uses
├── _posts # Where all your posts pages will go
├── _projects # Where all your project pages go
├── _sass # `sass` files
├── files # Any pdfs or one off html files
├── images # Any images to link to posts or pojects
├── _config.yml # Site build settings
├── Gemfile # Ruby Gemfile for managing Jekyll plugins
└── index.html # The other files build on top of this - dont touch
Gemfile
lists dependencies for the projectchruby
manages differentruby
versions/_layouts/blog/html
is what makes theindex.html
landing page. It makes the card for each file in/_posts
/_layouts/project.html
is the format im using to style my individual post files. I like how it looks better than/_layouts/post.html
, but I should probably edit it to look like what I want.- The
yaml
at the top of each post in/_posts
defines what layout to use that is available in/_layouts
- To make a change in the top right header navbar, edit
./_includes/navigation.html
and make sure there is an appropriate link to the page you want to set up in./_pages/