diff --git a/.eleventy.js b/.eleventy.js index 2cdb2d4..e7786d0 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -55,7 +55,7 @@ export default function (eleventyConfig) { type: "atom", outputPath: "/feed.xml", collection: { - name: "post", + name: "post", // Only posts, not recipes limit: 10, // 0 for no limit }, metadata: { diff --git a/src/_layouts/recipes.njk b/src/_layouts/recipes.njk new file mode 100644 index 0000000..b06f519 --- /dev/null +++ b/src/_layouts/recipes.njk @@ -0,0 +1,52 @@ + + + + {% include "head.njk" %} + + +
+ +
+ +
+

{{ title | markdownInline | safe }}

+ {% if subtitle %}

{{ subtitle | markdownInline | safe }}

{% endif %} + {% if date %}

{{ date | postDate }}

{% endif %} + {{ content | safe }} +
+ + + diff --git a/src/assets/img/chef-pic.jpeg b/src/assets/img/chef-pic.jpeg new file mode 100644 index 0000000..334b9d1 Binary files /dev/null and b/src/assets/img/chef-pic.jpeg differ diff --git a/src/assets/img/enchanted-broccoli-forest.jpg b/src/assets/img/enchanted-broccoli-forest.jpg new file mode 100644 index 0000000..00b1d2c Binary files /dev/null and b/src/assets/img/enchanted-broccoli-forest.jpg differ diff --git a/src/assets/img/pearled-couscous.jpg b/src/assets/img/pearled-couscous.jpg new file mode 100644 index 0000000..c864760 Binary files /dev/null and b/src/assets/img/pearled-couscous.jpg differ diff --git a/src/home-cooking/index.njk b/src/home-cooking/index.njk new file mode 100644 index 0000000..3b971c1 --- /dev/null +++ b/src/home-cooking/index.njk @@ -0,0 +1,33 @@ +--- +layout: frontpage.njk +tags: ["home-cooking"] +--- +
+

Home Cooking

+

+ + me + + I love cooking despite being a very middle of the road home cook. I find it to be relaxing and I like that I get to actually make something in the physical world. + I keep an old-school recipe box filled with note cards of recipes that I enjoyed making and that turned out well. So I thought + a good way to start this page would be to describe + + With attribution provided as appropriate. those recipes here the next time I decide to make them. +

+
+
+

Recipe Box

+ +
diff --git a/src/home-cooking/recipes/pearled-couscous-with-shallots-and-parsley.md b/src/home-cooking/recipes/pearled-couscous-with-shallots-and-parsley.md new file mode 100644 index 0000000..896923d --- /dev/null +++ b/src/home-cooking/recipes/pearled-couscous-with-shallots-and-parsley.md @@ -0,0 +1,30 @@ +--- +title: Pearled Couscous with Shallots and Parsley +subtitle: A really good North African side that goes well with other Mediterranean dishes. +blurb: slightly modified from a Trader Joe's box. +tags: ["recipe", "couscous", "lemon", "shallots", "mediterranian"] +--- + +*Makes 2 to 3 portions* + +[^box] + +2 tbsp. butter
+1/2 cup shallots, finely chopped
+ +1 1/2 cup pearled couscous
+1/2 large cinnamon stick
+1 bay leaf
+1 3/4 cups chicken broth
+1/2 tsp. salt
+ +1/4 cup parsley, minced
+zest of 1/2 lemon + +## Steps +1. Melt remaining 2 tablespoons butter in the same pan over medium heat. Add shallots and saute until golden. +2. Add couscous, cinnamon, and bay leaf and stir often until couscous browns slightly. +3. Add chicken broth and salt and bring to a boil. Reduce heat to low, cover and simmer until liquid is absorbed and couscous is tender. +4. Remove from heat and stir in parsley and lemon zest. Season with black pepper to taste. + +[^box]: {-} Lightly modified from the back of a Trader Joe's box. ![Picture of the original recipes on the back of a TJs box](/assets/img/pearled-couscous.jpg) \ No newline at end of file diff --git a/src/home-cooking/recipes/pesto.md b/src/home-cooking/recipes/pesto.md new file mode 100644 index 0000000..39e7170 --- /dev/null +++ b/src/home-cooking/recipes/pesto.md @@ -0,0 +1,29 @@ +--- +title: Family Pesto Recipe +subtitle: My favorite food while growing up. I tend to find store-bought pestos to be too oily or garlicky. +blurb: simple homemade basil pesto recipe. +tags: ["recipe", "pesto", "basil", "pasta", "sauce"] +--- + +*Makes 2 1/2 to 3 cups* + +3 packed cups fresh basil leaves
+2-3 large cloves garlic
+1/2 cups walnuts[^pine-nuts]
+1/2 cups olive oil
+3/4 cups Parmesan cheese[^parm]
+1/2 packed cups fresh parsley (optional)
+1/4 - 1/2 tsp. salt (to taste)
+Black pepper
+ +[^pine-nuts]: Pesto is traditionally made with pine nuts, but I prefer the earthier flavor of walnuts. Plus walnuts are less expensive. + +## Steps +1. Use a food processor to puree everything together. Its easiest to fit it all by starting with the Basil and olive oil, then adding everything else. + +--- +Can be stored for a few days in the fridge or almost indefinitely in a freezer (Thaw in a microwave on a low power setting). + +This recipe is modified from the pesto recipe in [The Enchanted Broccoli Forest](https://www.molliekatzen.com/books_enchanted_broccoli.php). + +[^parm]: The foodies in my life disagree but I am perfectly happy with the green bottle of Kraft Parmesan cheese. \ No newline at end of file diff --git a/src/home-cooking/recipes/recipes.json b/src/home-cooking/recipes/recipes.json new file mode 100644 index 0000000..3c0b764 --- /dev/null +++ b/src/home-cooking/recipes/recipes.json @@ -0,0 +1,3 @@ +{ + "layout": "recipes" +} \ No newline at end of file diff --git a/src/index.njk b/src/index.njk index 9b10a1e..d131a25 100644 --- a/src/index.njk +++ b/src/index.njk @@ -88,6 +88,17 @@ tags: ["ML", "Research", "Blog", "LLMs"] +
+

Fun

+ +

Website

diff --git a/src/posts/features.md b/src/posts/features.md deleted file mode 100644 index eb2e6f5..0000000 --- a/src/posts/features.md +++ /dev/null @@ -1,171 +0,0 @@ ---- -title: Under Construction! -subtitle: Markdown Patterns -date: 2023-12-30T00:00:00-08:00 -tags: just-for-reference ---- - -In addition to basic markdown features like _emphasis,_ **strong text,** -[links](http://example.com), and `inline code`, the tufte-markdown parser pays special -attention to figures and footnotes. The official -[Tufte-CSS site](https://edwardtufte.github.io/tufte-css/) explains the more advanced -features in detail, but we're trying to poke and prod things a bit to eliminate some of -the manual HTML entry that's still necessary. - -## Sidenotes and Marginalia - -Here's where things really get exciting. Markdown footnotes[^1] are a convenient way to -move digressions and asides out of the primary flow of a document, but shoving them to -the bottom of a long page is no good, either. In his books, Tufte instead uses -sidenotes, which keep the asides as close as possible to the related text without -breaking the flow. - -[^1]: - [Footnotes](https://www.markdownguide.org/extended-syntax#footnotes) weren't - actually part of the original markdown spec, but they've become a popular bolt-on. - -During a heated yak-shaving conversation about enhancements to our site,[^2] -[Karen McGrane](https://karenmcgrane.com) pointed -[Ethan Marcotte](https://ethanmarcotte.com) and I to an excellent post by Koos -Looijesteijn outlining -[_his_ approach to sidenotes](https://www.kooslooijesteijn.net/blog/semantic-sidenotes). -That in turn led to Gwern Branwen's impressive -[evaluation of damn near every sidenote implementation on the web](https://www.gwern.net/Sidenotes). -And that, in turn, led me to tufte-markdown, which is how we got into this mess. - -[^2]: - Karen and Ethan are my partners in crime at [Autogram](https://autogram.is), a - freshly-minted strategic consultancy for companies with complicated content needs. - If "establishing a consistent domain vocabulary and grammar to streamline design - system iteration for complex high-variance content" sounds thrilling to you, hire - us. - -A few specific formats are supported, with different results: `[^foonote-id]` markers in -a paragraph are paired with `[^footnote]: Footnote text` below the paragraph in which -they appear; they get numbered automatically.[^eg] For a _margin note,_ with no -accompanying number, just add a goofy symbol before the footnote text like so: - -``` -[^footnote]: {-} This text will appear in the margin without a number. -``` - -Completely inlined sidenotes — ones without explicit markers in the rest of the text — -can be done like so: - -``` -[^ {-} A little fussy, but not bad once you get used to it.] -``` - -[^eg]: For example, this little guy. - -## LaTeX - -Here is a different format displayed equation: $ e^{i\pi} + 1 = 0 $ - -And here is a different format displayed equation: - -$$ -\int_{-\infty}^\infty e^{-x^2} dx=\sqrt{\pi} -$$ - -## Blockquotes and Epigraphs - -Blockquotes are handled as one would expect: - -[^marlene] - -> I love quotations because it is a joy to find thoughts one might have, beautifully -> expressed with much authority by someone recognized wiser than oneself. —Marlene -> Dietrich - -[^marlene]: - {-} Dietrich as Monica Teasdale in _No Highway in the Sky_ (1951). Not really. - -Epigraphs, however, are a slightly different treatment common in Tufte's chapter -openings. They provide a bit of extra styling for the attribution line. - -

- -> To appreciate and use correctly a valuable maxim requires a genius, a vital -> appropriating exercise of mind, closely allied to that which first created it. - -
- -[^attribution]The downside is that Epigraphs require hand-coded HTML: -`
` wrapping the blockquote itself, and a `