X-Git-Url: https://git.danieliu.xyz/?p=pinopress.git;a=blobdiff_plain;f=pinopress;fp=pinopress;h=c12c485b65087889c68226df2cbd5e85555ddcc4;hp=3623b2f65d0921eacf2586a169bb608c8434633b;hb=1f9da3846f8e78cac52ea5a4c3840dfc391dca53;hpb=394bc43d24de087865fa4eed1920411c1a6d7ebd diff --git a/pinopress b/pinopress index 3623b2f..c12c485 100755 --- a/pinopress +++ b/pinopress @@ -73,6 +73,7 @@ $(BUILD_DIR)/$(ARTICLE_PATH)/%.html: $(SRC_DIR)/%.md cat $(TEMPLATE_DIR)/head.template.html > "$@" # module pipeline starts here ./$(MODULE_DIR)/md "$^" >> "$@" + . ./$(MODULE_DIR)/readingtime "$^" # module pipeline ends here cat $(TEMPLATE_DIR)/foot.template.html >> "$@" envsubst < "$@" | sponge "$@"