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 <[email protected]>
Co-authored-by: Luke Smith <[email protected]>
This commit is contained in:
authored and GitHub committed 2021-04-20 21:52:56 -04:00
1 parent efaa425737
commit cdc4c81c8b
15 files changed
+16 -16

No files matched your search

+2 -2
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))
mkdir -p blog
PAGE_TITLE="Articles tagged $* — $(BLOG_TITLE)"; \
PAGE_TITLE="Articles tagged $* -- $(BLOG_TITLE)"; \
TAGS="$*"; \
TITLE="$(BLOG_TITLE)"; \
export PAGE_TITLE; \
@@ -137,7 +137,7 @@ blog/%.html: $(BLOG_SRC)/%.md $(addprefix templates/,$(addsuffix .html,header ar
mkdir -p blog
TITLE="$(shell head -n1 $< | sed 's/^# \+//')"; \
export TITLE; \
PAGE_TITLE="$${TITLE} Recipe — $(BLOG_TITLE)"; \
PAGE_TITLE="$${TITLE} Recipe -- $(BLOG_TITLE)"; \
export PAGE_TITLE; \
AUTHOR="$(shell git log --format="%an" -- "$<" | tail -n 1)"; \
export AUTHOR; \