From 25aca2bfca24fba00d816a711082165c50696ff1 Mon Sep 17 00:00:00 2001 From: James Purser Date: Sun, 11 Sep 2022 13:54:16 +1000 Subject: [PATCH] Add opengraph information to Gallery image --- pages/galleryimages/[galleryImage].js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pages/galleryimages/[galleryImage].js b/pages/galleryimages/[galleryImage].js index a86b452..11b36c9 100755 --- a/pages/galleryimages/[galleryImage].js +++ b/pages/galleryimages/[galleryImage].js @@ -4,14 +4,21 @@ import getConfig from 'next/config' import "../../components/main.js" import Layout from "../../components/main.js" import { getAllGalleryImages, getGalleryImage } from "../../data/external/cms.js"; +import config from "../../data/internal/config" -const galleryImage = ({pagedata, imageDetails, basepath} ) => { +const galleryImage = ({pagedata, imageDetails, basepath, config} ) => { if(!imageDetails) return null return ( - + + + + + + +