Ryan's blog source code
Built using Hexo. Hosted on S3 with CloudFront.
Workflow for writing a post:
- Get the latest version of the code.
yarn watchto run a server.
hexo new post --slug my-slug "My title"to create a new file in
- Type type type. Note: you can move the file to
source/_draftsto prevent it from being published, but still have it show up locally.
yarn deployto push the changes to S3 and invalidate the CloudFront cache. The yarn config expects you to have run
aws configure --profile personal.
- Documentation on custom tags
- Most files placed in
sourcewill be copied directly to the site, however it will process
.htmlfiles placed here unless they have frontmatter to exclude them.