We're taking the old Sinatra site and re-implementing it as a Jekyll static site.
- Ruby 2.7.2 with
rvm - Install Jekyll. https://jekyllrb.com/docs/installation/
jekyll servefor local development- Static site is available in
/publicfolder
- index.md has no content and has title "home" (lowercase h) because adding a new variable called
name: homedidn't work. i don't know why. it didn't get passed into default.html's{{ page.name }}... changing it to{{ page.title }}worked though. - nested layouts
- index.md uses layout
homepage.html homepage.htmlin turn uses layoutdefault.html
- index.md uses layout
- public directory was copied over wholesale from sinatra project
- all asset names had to be prepended with
/public - https://docs.github.com/en/free-pro-team@latest/github/working-with-github-pages/creating-a-github-pages-site-with-jekyll
- https://docs.github.com/en/free-pro-team@latest/github/working-with-github-pages/about-github-pages-and-jekyll changes