Skip to content

Commit

Permalink
chore: add empty page redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
zchsh authored and nywilken committed Nov 1, 2022
1 parent 1ec6b70 commit f3a0dbc
Showing 1 changed file with 50 additions and 12 deletions.
62 changes: 50 additions & 12 deletions website/redirects.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,56 @@ module.exports = [
* should be a 404. Asana task for this "don't return content for empty" work:
* https://app.asana.com/0/1100423001970639/1202110665886351/f
*/
/*
packer/docs/templates/hcl_templates/functions/collection
packer/docs/templates/hcl_templates/functions/contextual
packer/docs/templates/hcl_templates/functions/conversion
packer/docs/templates/hcl_templates/functions/crypto
packer/docs/templates/hcl_templates/functions/encoding
packer/docs/templates/hcl_templates/functions/file
packer/docs/templates/hcl_templates/functions/ipnet
packer/docs/templates/hcl_templates/functions/numeric
packer/docs/templates/hcl_templates/functions/string
packer/docs/templates/hcl templates/functions/uuid
*/
{
source: '/packer/docs/templates/hcl_templates/functions/collection',
destination: '/packer/docs/templates/hcl_templates/functions',
permanent: true,
},
{
source: '/packer/docs/templates/hcl_templates/functions/contextual',
destination: '/packer/docs/templates/hcl_templates/functions',
permanent: true,
},
{
source: '/packer/docs/templates/hcl_templates/functions/conversion',
destination: '/packer/docs/templates/hcl_templates/functions',
permanent: true,
},
{
source: '/packer/docs/templates/hcl_templates/functions/crypto',
destination: '/packer/docs/templates/hcl_templates/functions',
permanent: true,
},
{
source: '/packer/docs/templates/hcl_templates/functions/encoding',
destination: '/packer/docs/templates/hcl_templates/functions',
permanent: true,
},
{
source: '/packer/docs/templates/hcl_templates/functions/file',
destination: '/packer/docs/templates/hcl_templates/functions',
permanent: true,
},
{
source: '/packer/docs/templates/hcl_templates/functions/ipnet',
destination: '/packer/docs/templates/hcl_templates/functions',
permanent: true,
},
{
source: '/packer/docs/templates/hcl_templates/functions/numeric',
destination: '/packer/docs/templates/hcl_templates/functions',
permanent: true,
},
{
source: '/packer/docs/templates/hcl_templates/functions/string',
destination: '/packer/docs/templates/hcl_templates/functions',
permanent: true,
},
{
source: '/packer/docs/templates/hcl_templates/functions/uuid',
destination: '/packer/docs/templates/hcl_templates/functions',
permanent: true,
},
/**
* END EMPTY PAGE REDIRECTS
*/
Expand Down

0 comments on commit f3a0dbc

Please sign in to comment.