on master help sign in
build: add guides redirects, add all metadata to pagetrees
commit71de78dc8f9aa375a7390cb4513ddf5e3c45648e authorMatilde Park <matilde.park@urbit.org> dateFri 13 May 2022, 16:32 (4 years ago) parentef718fb
2 files changed+13
lib/buildPageTree.js+1 vercel.json+12
lib/buildPageTree.js+1
@@ -57,6 +57,7 @@ function buildPageTree(dirPath, ordering = "", content = false) {
5757 );
5858
5959 return {
60+ ...data,
6061 title: data.title,
6162 base: page.name,
6263 slug: page.name.replace(/.md$/, ""),
vercel.json+12
@@ -3,6 +3,18 @@
33 "silent": true
44 },
55 "redirects": [
6+ {
7+ "source": "/guides/getting-an-urbit-id",
8+ "destination": "/getting-started/get-planet"
9+ },
10+ {
11+ "source": "/guides/installing-applications",
12+ "destination": "/getting-started/installing-applications"
13+ },
14+ {
15+ "source": "/guides/joining-groups",
16+ "destination": "/getting-started/joining-groups"
17+ },
618 {
719 "source": "/groups/~ladtem-filmyr/urbit-ny-takeover",
820 "destination": "/groups/~ladtem-filmyr/urbit-ny-week",