"Recipe" in title for soych engine optimization

This commit is contained in:
Luke Smith
2021-03-20 12:38:55 -04:00
parent e19d410fbb
commit 70c33511d1

View File

@@ -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} — $(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; \