- add a new .md file under _posts, format is
yyyy-mm-dd-title
- add text as markdown, leave images and other static content under under /assets. Images specifically goes under
/assets/img/
- test locally if you like, by running
bundle exec jekyll serve
- push to master to publish
Pages are added under /_pages
. They should have a defined permlink, e.g. /About/. Otherwise the same process as with posts. Pages which should be added to global navigation are added in the /_data/navigation.yml
file
bundle exec jekyll serve
GitHub documentation on Jekyll and testing locally. Revisit a couple of times a year, make sure github-pages gem is up-to-date.
bundle update github-pages
Example: what to do after updating Gemfile
bundle update
Example: how to add a gem
bundle add github-pages
I created this using
bundle init
exec jekyll _3.9.0_ new . --force
bundle update