Skip to content
matthew-dong-dev edited this page Dec 28, 2024 · 3 revisions

Dev notes

  • If you change the config file, you need to rebuild the site. _config.yml changes are loaded at compile time, not runtime. This means that if you’re running jekyll serve locally and you edit _config.yml, then changes to it won’t be detected
  • Sometimes you need to clear the browser cache for changes to propagate.
  • If you want to take down pages, just add [maintenance] in front of the md or pdf file, then Jekyll won't be able to find them and will default to the 404 page. Or set recruiter to false in config.yml
  • Rm socials by commenting out include social-links.html in header.html - commenting them in config.yml leaves a random github icon for some reason

Jekyll notes:

  • "jekyll build will wipe everything in /_sites/. The first step of jekyll build is to delete everything in /_sites/ and then build it all again from scratch. So, you can’t store any files in there and expect them to stick around. Everything that goes into /sites/ should be generated by Jekyll"
Clone this wiki locally