chore: add empty page redirects

pull/12098/head
Zachary Shilton 4 years ago committed by Wilken Rivera
parent 1ec6b70028
commit f3a0dbc491

@ -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
*/

Loading…
Cancel
Save