mirror of
https://github.com/jaronpate/folio.git
synced 2026-10-19 01:07:39 +00:00
fix json-ld schema
This commit is contained in:
@@ -1,8 +1,3 @@
|
|||||||
<!--
|
|
||||||
TODO:
|
|
||||||
- Add a case study type section where I showcase things i've built during my career
|
|
||||||
-->
|
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import '~/assets/css/main.css';
|
import '~/assets/css/main.css';
|
||||||
|
|
||||||
|
|||||||
+3
-19
@@ -125,35 +125,19 @@ useHead({
|
|||||||
isPartOf: { '@id': `${siteUrl}/#website` },
|
isPartOf: { '@id': `${siteUrl}/#website` },
|
||||||
about: { '@id': personId },
|
about: { '@id': personId },
|
||||||
mainEntity: { '@id': personId },
|
mainEntity: { '@id': personId },
|
||||||
hasPart: [
|
mentions: [
|
||||||
{
|
...selectedWorks.map((work) => ({
|
||||||
'@type': 'ItemList',
|
|
||||||
name: 'Selected work',
|
|
||||||
itemListElement: selectedWorks.map((work, index) => ({
|
|
||||||
'@type': 'ListItem',
|
|
||||||
position: index + 1,
|
|
||||||
item: {
|
|
||||||
'@type': 'CreativeWork',
|
'@type': 'CreativeWork',
|
||||||
name: work.title,
|
name: work.title,
|
||||||
description: work.description,
|
description: work.description,
|
||||||
url: work.link,
|
url: work.link,
|
||||||
},
|
|
||||||
})),
|
})),
|
||||||
},
|
...projects.map((project) => ({
|
||||||
{
|
|
||||||
'@type': 'ItemList',
|
|
||||||
name: 'Projects',
|
|
||||||
itemListElement: projects.map((project, index) => ({
|
|
||||||
'@type': 'ListItem',
|
|
||||||
position: index + 1,
|
|
||||||
item: {
|
|
||||||
'@type': 'CreativeWork',
|
'@type': 'CreativeWork',
|
||||||
name: project.title,
|
name: project.title,
|
||||||
description: project.description,
|
description: project.description,
|
||||||
url: project.href,
|
url: project.href,
|
||||||
},
|
|
||||||
})),
|
})),
|
||||||
},
|
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user