blob: e1eb3efa20c6dc2a2a9966ee768e007ec5b68f9c [file] [log] [blame]
#!/bin/bash
cd `dirname $0`
rm -rf public
hugo
find ./ -name '*.html' -exec sed -i -e 's|[[:space:]]*<option id="\([a-zA-Z]\+\)" value="|<option id="\1" value="/elasticjob/current|g' {} \;
cd public/en
sed -i -e 's/cn/en/g' index.html
cd ..