diff --git a/src/components/RelatedContent.js b/src/components/RelatedContent.js
index 93c3c30f2..79b9c3798 100644
--- a/src/components/RelatedContent.js
+++ b/src/components/RelatedContent.js
@@ -6,9 +6,6 @@ import { Button, ExternalLink, Icon } from '@newrelic/gatsby-theme-newrelic';
import { PageContext } from './PageContext';
const RelatedContent = ({ className, page }) => {
- const {
- fields: { gitAuthorTime },
- } = page;
const { site } = useStaticQuery(graphql`
query {
site {
@@ -20,6 +17,10 @@ const RelatedContent = ({ className, page }) => {
`);
const { fileRelativePath } = useContext(PageContext);
+ const {
+ fields: { gitAuthorTime },
+ } = page;
+
const {
siteMetadata: { repository },
} = site;
diff --git a/src/templates/GuideTemplate.js b/src/templates/GuideTemplate.js
index 91523b101..0a2447c9b 100644
--- a/src/templates/GuideTemplate.js
+++ b/src/templates/GuideTemplate.js
@@ -17,56 +17,69 @@ const GuideTemplate = ({ data }) => {
return (
<>