mirror of
https://github.com/ivabus/www
synced 2024-11-10 06:55:15 +03:00
fix: escape quotes in description in auto-gen markdown detail pages
This commit is contained in:
parent
4f2f92ad5e
commit
49f8955b54
2
.github/build-package-pages.sh
vendored
2
.github/build-package-pages.sh
vendored
|
@ -10,7 +10,7 @@ for row in $(cat $1 | jq -r '.[] | @base64'); do
|
|||
content="---
|
||||
type: page
|
||||
title: \"$(_jq '.name')\"
|
||||
Description: \"$(_jq '.desc')\"
|
||||
Description: \"$(_jq '.desc' | tr '\"' "'")\"
|
||||
layout: \"package-detail\"
|
||||
---"
|
||||
echo "$content" > $2/$(_jq '.slug').md
|
||||
|
|
Loading…
Reference in a new issue