mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add head options to app listings
This commit is contained in:
parent
cfa360e755
commit
1b0b427a03
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue