Replace em-dashes with -- for HTML purposes (#574)

Some applications will mess up with these, and since they are also used
in the <title>, &em; won't work either.

So -- is a good solution to this.

Co-authored-by: Spenser Truex <truex@equwal.com>
Co-authored-by: Luke Smith <luke@lukesmith.xyz>
This commit is contained in:
Spenser Truex 2021-04-20 18:52:56 -07:00 committed by GitHub
parent efaa425737
commit cdc4c81c8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 16 additions and 16 deletions

View File

@ -107,7 +107,7 @@ tagpages: $(TAGFILES)
blog/@%.html: $(TAGFILES) $(addprefix templates/,$(addsuffix .html,header tag_index_header tag_list_header tag_entry tag_separator tag_list_footer article_list_header article_entry article_separator article_list_footer tag_index_footer footer)) blog/@%.html: $(TAGFILES) $(addprefix templates/,$(addsuffix .html,header tag_index_header tag_list_header tag_entry tag_separator tag_list_footer article_list_header article_entry article_separator article_list_footer tag_index_footer footer))
mkdir -p blog mkdir -p blog
PAGE_TITLE="Articles tagged $* $(BLOG_TITLE)"; \ PAGE_TITLE="Articles tagged $* -- $(BLOG_TITLE)"; \
TAGS="$*"; \ TAGS="$*"; \
TITLE="$(BLOG_TITLE)"; \ TITLE="$(BLOG_TITLE)"; \
export PAGE_TITLE; \ export PAGE_TITLE; \
@ -137,7 +137,7 @@ blog/%.html: $(BLOG_SRC)/%.md $(addprefix templates/,$(addsuffix .html,header ar
mkdir -p blog mkdir -p blog
TITLE="$(shell head -n1 $< | sed 's/^# \+//')"; \ TITLE="$(shell head -n1 $< | sed 's/^# \+//')"; \
export TITLE; \ export TITLE; \
PAGE_TITLE="$${TITLE} Recipe $(BLOG_TITLE)"; \ PAGE_TITLE="$${TITLE} Recipe -- $(BLOG_TITLE)"; \
export PAGE_TITLE; \ export PAGE_TITLE; \
AUTHOR="$(shell git log --format="%an" -- "$<" | tail -n 1)"; \ AUTHOR="$(shell git log --format="%an" -- "$<" | tail -n 1)"; \
export AUTHOR; \ export AUTHOR; \

View File

@ -50,7 +50,7 @@ Originally published at [https://www.yaroslavps.com/food/beef-goulash/](https://
## Contribution ## Contribution
- Yaroslav de la Peña Smirnov [website](https://www.yaroslavps.com/), - Yaroslav de la Peña Smirnov -- [website](https://www.yaroslavps.com/),
[other website](https://saucesource.cc/), [other website](https://saucesource.cc/),
[donate](https://www.yaroslavps.com/donate) [donate](https://www.yaroslavps.com/donate)

View File

@ -9,7 +9,7 @@ A delicious syrup that can be eaten on bread and used in a multitude of recipes.
- 7 pears (Quality doesn't matter; you can argue that overripe pears are better because they have more sugar content.) - 7 pears (Quality doesn't matter; you can argue that overripe pears are better because they have more sugar content.)
- 3 apples - 3 apples
- a small handful of dates, raisins, dried apricots or prunes (optional you can experiment with these; they can bring out some nice flavors.) - a small handful of dates, raisins, dried apricots or prunes (optional -- you can experiment with these; they can bring out some nice flavors.)
- 150 grams sugar - 150 grams sugar
- 1 glass of water - 1 glass of water
- find sieve or cheese cloth - find sieve or cheese cloth

View File

@ -55,7 +55,7 @@ Originally published at [https://www.yaroslavps.com/food/cheesy-meatballs/](http
## Contribution ## Contribution
- Yaroslav de la Peña Smirnov [website](https://www.yaroslavps.com/), - Yaroslav de la Peña Smirnov -- [website](https://www.yaroslavps.com/),
[other website](https://saucesource.cc/), [other website](https://saucesource.cc/),
[donate](https://www.yaroslavps.com/donate) [donate](https://www.yaroslavps.com/donate)

View File

@ -43,6 +43,6 @@ Originally published at [https://www.taste.com.au/recipes/cheesy-potato-bake/974
## Contribution ## Contribution
- Kyle Johnson and Sabina Mortensen [website](https://www.kylecjohnson.site/) - Kyle Johnson and Sabina Mortensen -- [website](https://www.kylecjohnson.site/)
;tags: american cheese baked potato ;tags: american cheese baked potato

View File

@ -62,7 +62,7 @@ Originally published at [https://www.yaroslavps.com/food/country-breakfast-skill
## Contribution ## Contribution
- Yaroslav de la Peña Smirnov [website](https://www.yaroslavps.com/), - Yaroslav de la Peña Smirnov -- [website](https://www.yaroslavps.com/),
[other website](https://saucesource.cc/), [other website](https://saucesource.cc/),
[donate](https://www.yaroslavps.com/donate) [donate](https://www.yaroslavps.com/donate)

View File

@ -49,7 +49,7 @@ Originally published at [https://www.yaroslavps.com/food/creamy-mashed-potatoes/
## Contribution ## Contribution
- Yaroslav de la Peña Smirnov [website](https://www.yaroslavps.com/), - Yaroslav de la Peña Smirnov -- [website](https://www.yaroslavps.com/),
[other website](https://saucesource.cc/), [other website](https://saucesource.cc/),
[donate](https://www.yaroslavps.com/donate) [donate](https://www.yaroslavps.com/donate)

View File

@ -2,7 +2,7 @@
This is a take on a traditional demi-glace without needing to buy an astronomically large amount of veal bones. Use this as your main base for pan sauces, an extra flavor bomb, or a replacement for recipes that call for broth or stock. This is a take on a traditional demi-glace without needing to buy an astronomically large amount of veal bones. Use this as your main base for pan sauces, an extra flavor bomb, or a replacement for recipes that call for broth or stock.
These are the basic proportions multiply as needed. I typically multiply by six to give me several weeks worth of demi-glace ice cubes. These are the basic proportions -- multiply as needed. I typically multiply by six to give me several weeks worth of demi-glace ice cubes.
## Ingredients ## Ingredients

View File

@ -32,7 +32,7 @@ Originally published at [https://www.yaroslavps.com/food/fresh-guacamole/](https
## Contribution ## Contribution
- Yaroslav de la Peña Smirnov [website](https://www.yaroslavps.com/), - Yaroslav de la Peña Smirnov -- [website](https://www.yaroslavps.com/),
[other website](https://saucesource.cc/), [other website](https://saucesource.cc/),
[donate](https://www.yaroslavps.com/donate) [donate](https://www.yaroslavps.com/donate)

View File

@ -45,7 +45,7 @@ Originally published at [https://www.yaroslavps.com/food/merchants-buckwheat/](h
## Contribution ## Contribution
- Yaroslav de la Peña Smirnov [website](https://www.yaroslavps.com/), - Yaroslav de la Peña Smirnov -- [website](https://www.yaroslavps.com/),
[other website](https://saucesource.cc/), [other website](https://saucesource.cc/),
[donate](https://www.yaroslavps.com/donate) [donate](https://www.yaroslavps.com/donate)

View File

@ -35,7 +35,7 @@ Originally published at [https://www.yaroslavps.com/food/pan-seared-chicken-file
## Contribution ## Contribution
- Yaroslav de la Peña Smirnov [website](https://www.yaroslavps.com/), - Yaroslav de la Peña Smirnov -- [website](https://www.yaroslavps.com/),
[other website](https://saucesource.cc/), [other website](https://saucesource.cc/),
[donate](https://www.yaroslavps.com/donate) [donate](https://www.yaroslavps.com/donate)

View File

@ -33,7 +33,7 @@ Originally published at [https://www.yaroslavps.com/food/parmesan-potatoes/](htt
## Contribution ## Contribution
- Yaroslav de la Peña Smirnov [website](https://www.yaroslavps.com/), - Yaroslav de la Peña Smirnov -- [website](https://www.yaroslavps.com/),
[other website](https://saucesource.cc/), [other website](https://saucesource.cc/),
[donate](https://www.yaroslavps.com/donate) [donate](https://www.yaroslavps.com/donate)

View File

@ -45,7 +45,7 @@ Originally published at [https://www.yaroslavps.com/food/navy-style-pasta/](http
## Contribution ## Contribution
- Yaroslav de la Peña Smirnov [website](https://www.yaroslavps.com/), - Yaroslav de la Peña Smirnov -- [website](https://www.yaroslavps.com/),
[other website](https://saucesource.cc/), [other website](https://saucesource.cc/),
[donate](https://www.yaroslavps.com/donate) [donate](https://www.yaroslavps.com/donate)

View File

@ -38,7 +38,7 @@ Originally published at [https://www.yaroslavps.com/food/refried-beans/](https:/
## Contribution ## Contribution
- Yaroslav de la Peña Smirnov [website](https://www.yaroslavps.com/), - Yaroslav de la Peña Smirnov -- [website](https://www.yaroslavps.com/),
[other website](https://saucesource.cc/), [other website](https://saucesource.cc/),
[donate](https://www.yaroslavps.com/donate) [donate](https://www.yaroslavps.com/donate)

View File

@ -34,7 +34,7 @@ Originally published at [https://www.yaroslavps.com/food/sunday-morning-milkshak
## Contribution ## Contribution
- Yaroslav de la Peña Smirnov [website](https://www.yaroslavps.com/), - Yaroslav de la Peña Smirnov -- [website](https://www.yaroslavps.com/),
[other website](https://saucesource.cc/), [other website](https://saucesource.cc/),
[donate](https://www.yaroslavps.com/donate) [donate](https://www.yaroslavps.com/donate)