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