view file & image
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
import MardownContent from '../../components/MardownContent.astro';
|
||||
import ElementView from '../../views/ElementView.astro';
|
||||
import Layout from '../../layouts/Layout.astro';
|
||||
|
||||
import fetchApi from '../../lib/strapi';
|
||||
@@ -25,6 +25,5 @@ try {
|
||||
|
||||
---
|
||||
<Layout title={poleElement.name} description={poleElement.description}>
|
||||
<h1>{poleElement.name}</h1>
|
||||
{poleElement.description && <MardownContent content={poleElement.description} />}
|
||||
<ElementView entry={{ data: poleElement }} />
|
||||
</Layout>
|
||||
Reference in New Issue
Block a user