jtof.dev is powered by github pages through a handful of domain records (you can find the documentation for this here):| type | domain name | content |
|---|---|---|
| A | jtof.dev | 185.199.108.153 |
| A | jtof.dev | 185.199.109.153 |
| A | jtof.dev | 185.199.110.153 |
| A | jtof.dev | 185.199.111.153 |
| AAAA | jtof.dev | 2606:50c0:8000::153 |
| AAAA | jtof.dev | 2606:50c0:8001::153 |
| AAAA | jtof.dev | 2606:50c0:8002::153 |
| AAAA | jtof.dev | 2606:50c0:8003::153 |
| ANAME | jtof.dev | jjtofflemire.github.io |
| TXT | challenge subdomain.jtof.dev |
verification code |
| CNAME | www.jtof.dev | jjtofflemire.github.io |
CNAME file containing the jtof.dev urlhtml pages with all the custom formatting using src/main.rs
cargo run from the cookbook/ foldergit hook’smain.rs script, and the .html files that the script pulls in
localStorage javascript variable which is checked at load time
light-mode or dark-mode class on the <body>body.light/dark-mode class {
css
}
styles.css checks the screen width, and applies css changes when there are less than a certain number of pixels:@media screen and (max-width: {number}px) {
class {
css
}
}
h3 and smaller headerscss files, so that they are reordered in a more straightforward way
home button, theme toggle, a gap, download button, and notes button on one line, and the title of the recipe on the next line
- the download should link to a recipe.md that has the tags section removed (probably in a recipes/ folder inside cookbook)main.rs to add target="_blank" to the source links at the bottom of recipes (if possible)localStorage not always remembering correctly on page back and forward