mirror of
https://github.com/go-gitea/gitea
synced 2024-11-21 23:11:05 +01:00
Fix building of docs with latest hugo version (#3856)
This commit is contained in:
parent
fb2f8dcf3c
commit
5424f75a63
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@ for SOURCE in $(find ${ROOT}/content -type f -iname *.en-us.md); do
|
|||
if [[ ! -f ${DEST} ]]; then
|
||||
echo "Creating fallback for ${DEST#${ROOT}/content/}"
|
||||
cp ${SOURCE} ${DEST}
|
||||
sed -i.bak "s/en\-us/${LOCALE}/g" ${DEST}
|
||||
rm ${DEST}.bak
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue