X-Git-Url: https://git.based.quest/?p=web-old.git;a=blobdiff_plain;f=blogit;h=4f590f4ad53d34b7bb22ad1920f07bae41d726e9;hp=5be242954ea9b3e0d0bab525081ae84cb4591b9f;hb=8c9e33cda9a6753f01cf770e15e65077d6fe614c;hpb=a13bd3421e2d14123ab738a2f16a75dd8ad64411 diff --git a/blogit b/blogit index 5be2429..4f590f4 100755 --- a/blogit +++ b/blogit @@ -139,6 +139,8 @@ blog/%.html: $(BLOG_SRC)/%.md $(addprefix templates/,$(addsuffix .html,header ar export DATE_EDITED; \ TAGS="$(shell grep -i '^; *tags:' "$<" | cut -d: -f2- | paste -sd ',')"; \ export TAGS; \ + DESCRIPTION="$(shell grep -i '^; *description:' "$<" | cut -d: -f2-)"; \ + export DESCRIPTION; \ envsubst < templates/header.html > $@; \ envsubst < templates/article_header.html >> $@; \ sed -e 1d \