mirror of
https://github.com/LukeSmithxyz/based.cooking.git
synced 2024-11-03 03:40:38 +00:00
Merge pull request #203 from sylGauthier/syg/master
consolidate tag parsing
This commit is contained in:
commit
318515d76d
2
Makefile
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user