Browse Source

Fix building of docs with latest hugo version (#3856)

release/v1.5
Lauris BH 4 years ago
committed by GitHub
parent
commit
5424f75a63
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/scripts/trans-copy

2
docs/scripts/trans-copy

@ -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…
Cancel
Save