wiki/fix in-context.sh
2020-12-22 14:37:53 -06:00

6 lines
317 B
Bash
Executable File

# Fix the layouts in the in-context files
sed -i "" "s/layout: crwdns[0-9][0-9][0-9][0-9][0-9]:0crwdne[0-9][0-9][0-9][0-9][0-9]:0/layout: default/" pages/_ic-IC/*.md
for file in pages/_ic-IC/*/*.md; do
sed -i "" "s/layout: crwdns[0-9][0-9][0-9][0-9][0-9]:0crwdne[0-9][0-9][0-9][0-9][0-9]:0/layout: wiki/" $file
done