From 7b2d94d1b31cd237f2001b27fc698be46cc3fcaf Mon Sep 17 00:00:00 2001 From: James Purser Date: Wed, 13 May 2026 11:42:03 +1000 Subject: [PATCH] Minor fix for OG Image path --- pages/news/[slug].js | 2 +- photography.js | 50 -------------------------------------------- 2 files changed, 1 insertion(+), 51 deletions(-) delete mode 100755 photography.js diff --git a/pages/news/[slug].js b/pages/news/[slug].js index 1db4d31..e5aca9f 100755 --- a/pages/news/[slug].js +++ b/pages/news/[slug].js @@ -38,7 +38,7 @@ const Article = ({article_obj, sections, pagedata, stories, serverRuntimeConfig, { article_obj.FeatureImage.data != null && - + } { article_obj.project.data != null && article_obj.project.data.attributes.HasFeed == true && diff --git a/photography.js b/photography.js deleted file mode 100755 index ab16816..0000000 --- a/photography.js +++ /dev/null @@ -1,50 +0,0 @@ -import Layout from "../components/main.js" -import GalleryList from "../components/gallerylist.js" -import { getAllGalleries } from "../data/external/cms.js" -import getConfig from 'next/config' -import config from "../data/internal/config" -import Head from 'next/head' - -export async function getStaticProps({params}) { - - const pagedata = { - title: "Angrybeanie - Photography" - } - - const { serverRuntimeConfig } = getConfig() - - const rssFeed = config.siteURL+"/feed/gallery-images-feed.xml" - - const gallerylist = await getAllGalleries() - - console.log(gallerylist); - - return { - props: { pagedata, serverRuntimeConfig, gallerylist, rssFeed }, - revalidate: 60 - } -} - -const Page = ({pagedata, serverRuntimeConfig, gallerylist, rssFeed}) => { - return( - - - -

Photography

-
-

I've always been drawn to photography. As a kid my Dad used to have his own darkroom and I remember the smell - of the chemicals and the wonder as the images went from the slightly disconcerting inverted colours on the negatives - to a full colour explosion on the paper.

-

I like taking pictures, I love capturing a moment and freezing it in time, so that I can look back and remember, or that I can - share that moment with others.

-

I'm also learning new things. I'm pushing myself to do more with the camera. Not just the "candid" shots that my family put up with, - but branching out into Macro photography, portraits and street photography.

-

So here is the space where I post the images I make, and the journey I take in my photography.

-
-
- -
-
) -} - -export default Page