diff --git a/website/layouts/docs.jsx b/website/layouts/docs.jsx index 711475ce5..4dcb87e41 100644 --- a/website/layouts/docs.jsx +++ b/website/layouts/docs.jsx @@ -1,5 +1,5 @@ import DocsPage from '@hashicorp/react-docs-page' -import order from '../data/docs-navigation.js' +import order from 'data/docs-navigation.js' import { frontMatter as data } from '../pages/docs/**/*.mdx' import Head from 'next/head' import Link from 'next/link' @@ -14,14 +14,14 @@ function DocsLayoutWrapper(pageMeta) { is: Head, title: `${pageMeta.page_title} | Packer by HashiCorp`, description: pageMeta.description, - siteName: 'Packer by HashiCorp' + siteName: 'Packer by HashiCorp', }} sidenav={{ Link, category: 'docs', currentPage: props.path, data, - order + order, }} resourceURL={`https://github.com/hashicorp/packer/blob/master/website/pages/${pageMeta.__resourcePath}`} /> diff --git a/website/layouts/guides.jsx b/website/layouts/guides.jsx index 426f6c468..3013749fe 100644 --- a/website/layouts/guides.jsx +++ b/website/layouts/guides.jsx @@ -1,5 +1,5 @@ import DocsPage from '@hashicorp/react-docs-page' -import order from '../data/guides-navigation.js' +import order from 'data/guides-navigation.js' import { frontMatter as data } from '../pages/guides/**/*.mdx' import Head from 'next/head' import Link from 'next/link' @@ -14,14 +14,14 @@ function GuidesLayoutWrapper(pageMeta) { is: Head, title: `${pageMeta.page_title} | Packer by HashiCorp`, description: pageMeta.description, - siteName: 'Packer by HashiCorp' + siteName: 'Packer by HashiCorp', }} sidenav={{ Link, category: 'guides', currentPage: props.path, data, - order + order, }} resourceURL={`https://github.com/hashicorp/packer/blob/master/website/pages/${pageMeta.__resourcePath}`} /> diff --git a/website/layouts/intro.jsx b/website/layouts/intro.jsx index 5af962277..84d2a7dda 100644 --- a/website/layouts/intro.jsx +++ b/website/layouts/intro.jsx @@ -1,5 +1,5 @@ import DocsPage from '@hashicorp/react-docs-page' -import order from '../data/intro-navigation.js' +import order from 'data/intro-navigation.js' import { frontMatter as data } from '../pages/intro/**/*.mdx' import Head from 'next/head' import Link from 'next/link' @@ -14,14 +14,14 @@ function IntroLayoutWrapper(pageMeta) { is: Head, title: `${pageMeta.page_title} | Packer by HashiCorp`, description: pageMeta.description, - siteName: 'Packer by HashiCorp' + siteName: 'Packer by HashiCorp', }} sidenav={{ Link, category: 'intro', currentPage: props.path, data, - order + order, }} resourceURL={`https://github.com/hashicorp/packer/blob/master/website/pages/${pageMeta.__resourcePath}`} />