The family cookbook, in blog form
https://pence.envs.net/recipes/
- HTML 49.7%
- JavaScript 36.5%
- SCSS 9.6%
- Shell 4.2%
| archetypes | Loads of new recipes. | |
| assets | Add recipe card image (yay!). | |
| bin | Add client-side searching. | |
| content | Add a bunch of recipes. | |
| layouts | Upgrade to Bootstrap 5, clean up top nav. | |
| .gitignore | Add nonnettes. | |
| deploy | Update deploy script and packages. | |
| hugo.toml | Update to work around security protection I don't want. | |
| package.json | Fix JS import nonsense. | |
| README.md | Update README. | |
| yarn.lock | Fix JS import nonsense. | |
Recipe Site
This is our family recipe site, in the form of a Hugo blog and available at https://pence.envs.net/recipes.
There's a few things here that might be of interest to someone else:
- The
binandassets/jsfolders include the implementation of basic client-side search using lunr, with indexes GZip-compressed and unpacked on the client side with zlibjs. All of those indices are updated automatically on the build branch by thebuildscript in the root. - The
layoutsfolder includes some extremely simplistic layouts that might be useful for people who want to make their own recipe collection.
To make a new recipe, run:
hugo new content/posts/post-slug.md
All the metadata fields will be filled in automatically, you just have to clean up the categories and customize the tags.
Copyright
All code is released under the MIT license; recipe content is public domain and cannot be copyrighted in most world jurisdictions.