summaryrefslogtreecommitdiff
path: root/scripts/update_site.sh
blob: 5f0f5d6ed0a245d7b3bebd57026754d8e4cf015e (plain)
1
2
3
4
5
6
7
for D in *; do
    if [[ -d "${D}" ]] && [[ ${D} == *"-widget"* ]]; then
        echo "${D}"
        cp ${D}/README.md ./_widgets/${D}.md
        sed -i '1s/^/---\nlayout: page\n---\n/' ./_widgets/${D}.md
    fi
done