1
2
Fork 0
The family cookbook, in blog form https://pence.envs.net/recipes/
 
 
 
 
Go to file
Charles Pence 24e1298a7e
Tested a bunch of recipes.
2023-09-03 15:47:40 +02:00
archetypes Loads of new recipes. 2021-01-09 22:59:29 +01:00
assets Fix URL generation for search results. 2023-07-26 12:19:53 -05:00
bin Add client-side searching. 2020-01-26 21:24:44 +01:00
content Tested a bunch of recipes. 2023-09-03 15:47:40 +02:00
layouts Fix relative URLs for loading search index. 2023-07-26 12:18:02 -05:00
.gitignore Add nonnettes. 2021-11-28 12:18:18 +01:00
README.md Update README. 2023-07-01 19:36:37 +02:00
config.toml Try this. 2023-07-01 19:14:16 +02:00
deploy Update deploy script and packages. 2023-07-01 19:10:04 +02:00
package.json Update jQuery. 2020-04-30 09:23:58 +02:00
yarn.lock Update deploy script and packages. 2023-07-01 19:10:04 +02:00

README.md

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 bin and assets/js folders 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 the build script in the root.
  • The layouts folder 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.

All code is released under the MIT license; recipe content is public domain and cannot be copyrighted in most world jurisdictions.