From 1b0b427a0360f2699371b93be46f2cf68ccad35a Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Sat, 30 Apr 2022 14:52:57 -0500 Subject: [PATCH] Add head options to app listings --- src/pages/app/[...appPath].astro | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pages/app/[...appPath].astro b/src/pages/app/[...appPath].astro index 6c815e0..e54e390 100644 --- a/src/pages/app/[...appPath].astro +++ b/src/pages/app/[...appPath].astro @@ -4,6 +4,8 @@ import axios from 'axios' +import { ListingDetails } from '~/helpers/listing-page.js' + import Layout from '../../layouts/default.astro' import Listing from '../../components/default-listing.astro' @@ -41,10 +43,13 @@ const appListing = await axios.get( apiUrl.toString() ) return response.data }) +const listingDetails = new ListingDetails( appListing ) + ---