The family cookbook, in blog form https://recipes.thepences.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Charles Pence 4e9a19a104
RSS!
4 days ago
archetypes Loads of new recipes. 9 months ago
assets Only prevent default for 'Enter', also support new API. 2 years ago
bin Add client-side searching. 2 years ago
content Add a recipe. 3 weeks ago
layouts RSS! 4 days ago
.gitignore Initial import with Hugo, still mostly broken but on the way. 2 years ago
README.md Update README. 1 year ago
config.toml RSS! 4 days ago
deploy Update build script and rename it to match my other sites. 1 year ago
package.json Update jQuery. 1 year ago
yarn.lock Update jQuery. 1 year ago

README.md

Recipe Site

This is our family recipe site, in the form of a Hugo blog and available at https://recipes.thepences.org.

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.