bundle install
bundle exec jekyll serve --livereload
Open Graph images are automatically created for every page on the site. This only works in a non-production environment since this task depends on Selenium being installed. The content used for the Open Graph images is based on the title of the page.
Sometimes I write for other blogs, but I want to share my work on my personal
website. In theses cases I simply add a canonical_url
key to the front matter
of a blank post.
---
title: "Some title"
canonical_url: https://external.com/blog/example.html
---
bundle exec rake
GitHub actions runs CI which runs the test suite and standard.
Run npx prettier --write path/to/file
to lint a specific file or files if
using glob pattern matching.
There's also a pre-commit hook via ./husky/pre-commit
that will lint any files
that were just committed.
Run bundle exec standardrb --fix
to fix any Ruby violations. This is currently
run as part of CI.
Run ./bin.mdl path/to/markdown/file
to lint a specific file or files if using
glob pattern matching. Since the existing posts were migrating from a previous
Gatsby build, there are a lot of violations. This is better suited for new
posts, and as such, is not part of CI.