Added og-image to package-detail front matter

This commit is contained in:
Thomas Smith 2023-03-23 18:11:30 -04:00
parent 27b0ac5979
commit b5ec99393a

View file

@ -21,7 +21,8 @@ type: page
title: \"$(_jq '.name')\" title: \"$(_jq '.name')\"
maintainer: \"$(_jq '.maintainer')\" maintainer: \"$(_jq '.maintainer')\"
Description: \"$(_jq '.desc' | tr '\"' "'")\" Description: \"$(_jq '.desc' | tr '\"' "'")\"
og_image: \"$(_jq '.thumb_image_url')\"
layout: \"package-detail\" layout: \"package-detail\"
---" ---"
echo "$content" > "$2"/"+$full_name".md echo "$content" > "$2"/"+$full_name".md
done done