Add head options to app listings

This commit is contained in:
Sam Carlton 2022-04-30 14:52:57 -05:00
parent cfa360e755
commit 1b0b427a03

View file

@ -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 )
---
<Layout
headTitle={ `${ appListing.name } | Does It ARM` }
headDescription={ 'Test' }
headOptions={ listingDetails.headOptions }
>
<Listing