mirror of
https://github.com/jaronpate/folio.git
synced 2026-10-18 17:06:56 +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">
|
||||
import '~/assets/css/main.css';
|
||||
|
||||
|
||||
+13
-29
@@ -125,35 +125,19 @@ useHead({
|
||||
isPartOf: { '@id': `${siteUrl}/#website` },
|
||||
about: { '@id': personId },
|
||||
mainEntity: { '@id': personId },
|
||||
hasPart: [
|
||||
{
|
||||
'@type': 'ItemList',
|
||||
name: 'Selected work',
|
||||
itemListElement: selectedWorks.map((work, index) => ({
|
||||
'@type': 'ListItem',
|
||||
position: index + 1,
|
||||
item: {
|
||||
'@type': 'CreativeWork',
|
||||
name: work.title,
|
||||
description: work.description,
|
||||
url: work.link,
|
||||
},
|
||||
})),
|
||||
},
|
||||
{
|
||||
'@type': 'ItemList',
|
||||
name: 'Projects',
|
||||
itemListElement: projects.map((project, index) => ({
|
||||
'@type': 'ListItem',
|
||||
position: index + 1,
|
||||
item: {
|
||||
'@type': 'CreativeWork',
|
||||
name: project.title,
|
||||
description: project.description,
|
||||
url: project.href,
|
||||
},
|
||||
})),
|
||||
},
|
||||
mentions: [
|
||||
...selectedWorks.map((work) => ({
|
||||
'@type': 'CreativeWork',
|
||||
name: work.title,
|
||||
description: work.description,
|
||||
url: work.link,
|
||||
})),
|
||||
...projects.map((project) => ({
|
||||
'@type': 'CreativeWork',
|
||||
name: project.title,
|
||||
description: project.description,
|
||||
url: project.href,
|
||||
})),
|
||||
],
|
||||
}),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user