Skip to content

Commit

Permalink
fix licenses/.. and add pretty urls
Browse files Browse the repository at this point in the history
  • Loading branch information
TimidRobot committed Jun 6, 2024
1 parent d5aa1be commit 231592f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/netlify_redirects.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ do
symlink=${symlink/\/index.html/}
target="${basedir}/${line##*#}"
target="${target/\/rdf/rdf}"
target="${target/licenses\/..\//}"
target="${target/licenses\/../}"
echo "/${symlink} /${target} 200"
done | sort -r | column -t > ${DIR_REPO}/docs/_redirects
echo "/${symlink%.html} /${target} 200"
done | sort -r -u | column -t > ${DIR_REPO}/docs/_redirects

0 comments on commit 231592f

Please sign in to comment.