summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2021-03-16 23:07:11 -0400
committerGitHub <noreply@github.com>2021-03-16 23:07:11 -0400
commit318515d76d8d7799bb1b469f412fb39caea88971 (patch)
tree2c3f71d93710e3d2b0a3522906ac4d2cf2455381
parenta7d065645364d511c5e46b57ec2f94f4a1ee2714 (diff)
parent321bddab3ba3f9311b57629535f7856a1f0f03be (diff)
downloadbased.cooking-318515d76d8d7799bb1b469f412fb39caea88971.tar
based.cooking-318515d76d8d7799bb1b469f412fb39caea88971.tar.gz
based.cooking-318515d76d8d7799bb1b469f412fb39caea88971.tar.lz
based.cooking-318515d76d8d7799bb1b469f412fb39caea88971.tar.xz
based.cooking-318515d76d8d7799bb1b469f412fb39caea88971.zip
Merge pull request #203 from sylGauthier/syg/master
consolidate tag parsing
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3259a93bc..986aca329 100644
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,7 @@ config:
tags/%: $(BLOG_SRC)/%.md
mkdir -p tags
- grep -i '^; *tags:' "$<" | cut -d: -f2- | sed 's/ */\n/g' | sed '/^$$/d' | sort -u > $@
+ grep -ih '^; *tags:' "$<" | cut -d: -f2- | tr '[:punct:]' ' ' | sed 's/ */\n/g' | sed '/^$$/d' | sort -u > $@
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