summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Gauthier <s94.gauthier@laposte.net>2021-03-15 10:48:41 +1100
committerSylvain Gauthier <s94.gauthier@laposte.net>2021-03-15 10:48:41 +1100
commitb1c404456d94019765a4a9d4ebbebc9bf750af8b (patch)
tree1174b9775729bfa1ddeb4bf1fe328f6280796903
parent63968f5cf9408543a92a83d6aab12f081e495d1b (diff)
downloadbased.cooking-b1c404456d94019765a4a9d4ebbebc9bf750af8b.tar
based.cooking-b1c404456d94019765a4a9d4ebbebc9bf750af8b.tar.gz
based.cooking-b1c404456d94019765a4a9d4ebbebc9bf750af8b.tar.lz
based.cooking-b1c404456d94019765a4a9d4ebbebc9bf750af8b.tar.xz
based.cooking-b1c404456d94019765a4a9d4ebbebc9bf750af8b.zip
add custom markdown index file
-rw-r--r--Makefile3
-rw-r--r--index.md99
2 files changed, 2 insertions, 100 deletions
diff --git a/Makefile b/Makefile
index f10922484..6333cc291 100644
--- a/Makefile
+++ b/Makefile
@@ -61,7 +61,7 @@ tags/%: $(BLOG_SRC)/%.md
mkdir -p tags
grep -i '^; *tags:' "$<" | cut -d: -f2- | sed 's/ */\n/g' | sed '/^$$/d' | sort -u > $@
-blog/index.html: $(ARTICLES) $(TAGFILES) $(addprefix templates/,$(addsuffix .html,header index_header tag_list_header tag_entry tag_separator tag_list_footer article_list_header article_entry article_separator article_list_footer index_footer footer))
+blog/index.html: index.md $(ARTICLES) $(TAGFILES) $(addprefix templates/,$(addsuffix .html,header index_header tag_list_header tag_entry tag_separator tag_list_footer article_list_header article_entry article_separator article_list_footer index_footer footer))
mkdir -p blog
TITLE="$(BLOG_TITLE)"; \
PAGE_TITLE="$(BLOG_TITLE)"; \
@@ -93,6 +93,7 @@ blog/index.html: $(ARTICLES) $(TAGFILES) $(addprefix templates/,$(addsuffix .htm
envsubst < templates/article_entry.html; \
first=false; \
done >> $@; \
+ markdown < index.md >> $@; \
envsubst < templates/article_list_footer.html >> $@; \
envsubst < templates/index_footer.html >> $@; \
envsubst < templates/footer.html >> $@; \
diff --git a/index.md b/index.md
index 22aaf607e..d8a0a5929 100644
--- a/index.md
+++ b/index.md
@@ -1,102 +1,3 @@
-# 🍳 Based Cooking 🍲
-
-Only based cooking. No ads, no tracking, nothing but based cooking.
-
-## Recipes
-
-- [Carbonara](carbonara.html)
-- [Chicken Parmesan](chicken-parmesan.html)
-- [Chicken Pasta Casserole](chicken-pasta-casserole.html)
-- [Gnocchi](gnocchi.html)
-- [Slow-cooked Chicken Tacos](chicken-tacos.html)
-- [Beef Stroganoff](stroganoff.html)
-- [Beef or Lamb Stew](beef-stew.html)
-- [Beef Jerky](beef-jerky.html)
-- [Hamburger Patties](hamburger-patties.html)
-- [Portuguese Steak with Beer Sauce](portuguese-steak-with-beer-sauce.html)
-- [Tuscan Style Pork Roast](tuscan-style-pork-roast.html)
-- [Flemish Beer and Gingerbread Beef Stew](carbonade.html)
-- [French Mustard Sauce Porkchops](french-mustard-sauce-porkchops.html)
-- [Chicken, Tomato & Spinach Curry](chicken-tomato-spinach-curry.html)
-- [Broiled Trevally](broiled-trevally.html)
-- [Almeirim Stone Soup](almeirim-stone-soup.html)
-- [Chicken Wings](chicken-wings.html)
-- [Instant Tom Yam Kung Noodle Soup](instant-tom-yam-kung-noodle-soup.html)
-- [Marinated Pork Steaks](marinated-pork-steaks.html)
-- [Banana Pancakes](banana-pancakes.html)
-- [Banana Bread](banana-bread.html)
-- [Cacio e Pepe](cacio-e-pepe.html)
-- [Potato and Eggplant Curry](potato-and-eggplant-curry.html)
-- [Dried Tomato and Plums Bread Spread](dried-tomato-plum-spread.html)
-- [Drunken Beans](drunken-beans.html)
-- [Chili con Carne](chili-con-carne.html)
-- [Matcha Cookies](matcha-cookies.html)
-- [Miso Ginger Pork](miso-ginger-pork.html)
-- [Pancakes](pancake.html)
-- [Oaty Pancakes](oaty-pancakes.html)
-- [Pizza Dough](pizza-dough.html)
-- [Beef Tips with Mashed Potatoes](beef-tips.html)
-- [Älplermagronen (Alpine macaroni)](aelplermagronen.html)
-- [Rösti](roesti.html)
-- [Chicken Biscuit Potpie](chicken-biscuit-potpie.html)
-- [Liver Pate](liverpate.html)
-- [Flammkuchen](flammkuchen.html)
-- [Tortellini](tortellini.html)
-- [Banana Muffins with Chocolate](banana-muffins-with-chocolate.html)
-- [Taco Meat](taco-meat.html)
-- [Fried Anglerfish Fillet](fried-anglerfish-fillet.html)
-- [Hangover Eggs](hangover-eggs.html)
-- [Caesar Salad](caesar-salad.html)
-- [Maque Choux](maque-choux.html)
-- [Ragù](ragu.html)
-- [Roasted Chicken Breast](roasted-chicken-breast.html)
-- [Scandinavian Coffee Cake](scandinavian-coffee-cake.html)
-- [Japanese Noodle Soup](japanese-noodle-soup.html)
-- [Sticky Porkchops](sticky-porkchops.html)
-- [Pork-based Chili con Carne](pork-based-chili-con-carne.html)
-- [Beef Goulash](beef-goulash.html)
-- [Omelet](omelet.html)
-- [Cheesy Meatballs with Tomato Sauce](cheesy-meatballs.html)
-- [Country Breakfast Skillet](country-skillet.html)
-- [Creamy Mashed Potatoes](creamy-mashed-potatoes.html)
-- [Fresh Guacamole](guacamole.html)
-- [Merchant's Buckwheat](merchants-buckwheat.html)
-- [Pasta Navy Style](pasta-navy-style.html)
-- [Pan-seared Chicken Fillet](pan-seared-chicken.html)
-- [Parmesan Potatoes](parmesan-potatoes.html)
-- [Refried Beans](refried-beans.html)
-- [Sunday Morning Milkshake](sunday-milkshake.html)
-- [Quesadilla](quesadilla.html)
-- [Tuna Sub](tuna-sub.html)
-- [Spaghetti and Meatballs](spaghetti-and-meatballs.html)
-- [Peanut Butter](peanut-butter.html)
-- [Hummus](hummus.html)
-- [Ginataang Kalabasa](ginataang-kalabasa.html)
-- [Simple Sauce](simple-sauce.html)
-- [Hellfire Steak](hellfire-steak.html)
-
-## Basics
-
-- [Chicken Stock and Bone Broth](chicken-stock-bone-broth.html)
-- [Pasta (store bought)](pasta.html)
-- [Pasta Sauce](pasta-sauce.html)
-- [Rice](rice.html)
-- [Eggs](eggs.html)
-- [Ketchup](ketchup.html)
-- [Oats](oats.html)
-- [Bread](bread.html)
-- [Sauerkraut](sauerkraut.html)
-- [Yogurt](yogurt.html)
-- [Sweet Potato Fries](sweet-potato-fries.html)
-- [Fried Potatoes](fried-potatoes.html)
-- [Croutons](croutons.html)
-
-## More Info
-
-- [Table Salt vs. Kosher Salt?](salt.html)
-- [Slow Cooking Benefits and Tips](slow-cooking-tips.html)
-- [Get a Mortar and Pestle](mortar-and-pestle.html)
-
## About this site
Founded to provide a simple online cookbook without ads and obese web design.