mirror of
https://github.com/ivabus/www
synced 2024-11-10 06:45:16 +03:00
Added og-image to package-detail front matter
This commit is contained in:
parent
27b0ac5979
commit
b5ec99393a
3
.github/build-package-pages.sh
vendored
3
.github/build-package-pages.sh
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue