This commit is contained in:
@@ -1,16 +1,16 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
const slug = route.params.slug
|
const slug = route.params.slug
|
||||||
const { data } = await useAsyncData(() => queryCollection('blog').path("/blog/" + slug).first())
|
const articleList = queryCollection('blog').path("/blog/" + slug)
|
||||||
const title = (data.value == undefined ? 'Blog' : data.value!.title);
|
const data = await articleList.first()
|
||||||
|
const title = (data == undefined ? 'Blog' : data.title);
|
||||||
useSeoMeta({
|
useSeoMeta({
|
||||||
title: data.value?.title,
|
title: data?.title,
|
||||||
description: data.value?.description
|
description: data?.description
|
||||||
})
|
})
|
||||||
defineOgImageComponent('BlogPost', {
|
defineOgImageComponent('BlogPost', {
|
||||||
title: title,
|
title: title,
|
||||||
description: data.value?.description
|
description: data?.description
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -12,7 +12,7 @@ defineOgImageComponent('Site', {
|
|||||||
|
|
||||||
<!-- Links -->
|
<!-- Links -->
|
||||||
<div id="links-div" style="grid-column: 1;">
|
<div id="links-div" style="grid-column: 1;">
|
||||||
<a href="/blog/" style="grid-column: 1;">
|
<a href="/blog" style="grid-column: 1;">
|
||||||
<img src="~/assets/img/post-outline.svg"
|
<img src="~/assets/img/post-outline.svg"
|
||||||
class="sm:w-[150px] w-[70px] h-auto m-auto" />
|
class="sm:w-[150px] w-[70px] h-auto m-auto" />
|
||||||
<p class="text-center sm:text-3xl text-xl">Blog</p>
|
<p class="text-center sm:text-3xl text-xl">Blog</p>
|
||||||
@@ -24,7 +24,7 @@ defineOgImageComponent('Site', {
|
|||||||
<p class="text-center sm:text-3xl text-xl">Projects</p>
|
<p class="text-center sm:text-3xl text-xl">Projects</p>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a href="/cv/">
|
<a href="/cv">
|
||||||
<img src="~/assets/img/icon-park-solid_people.svg"
|
<img src="~/assets/img/icon-park-solid_people.svg"
|
||||||
class="sm:w-[150px] w-[70px] h-auto pb-4 p-3 m-auto" />
|
class="sm:w-[150px] w-[70px] h-auto pb-4 p-3 m-auto" />
|
||||||
<p class="text-center sm:text-3xl text-xl">CV</p>
|
<p class="text-center sm:text-3xl text-xl">CV</p>
|
||||||
|
|||||||
@@ -336,7 +336,7 @@ as I now have a rack-mounted disk enclosure with an HBA card.
|
|||||||
::
|
::
|
||||||
|
|
||||||
The R740 is powerful enough to act as a build environment, using ephemeral VMs, which is very useful
|
The R740 is powerful enough to act as a build environment, using ephemeral VMs, which is very useful
|
||||||
for my [work at Canonical](https://vhaudiquet.fr/blog/joining-canonical-riscv/). It also includes iDRAC (Integrated Dell Remote Access Controller), Dell's implementation of IPMI for remote management.
|
for my [work at Canonical](/blog/joining-canonical-riscv). It also includes iDRAC (Integrated Dell Remote Access Controller), Dell's implementation of IPMI for remote management.
|
||||||
|
|
||||||
::BlogNote
|
::BlogNote
|
||||||
IPMI (Intelligent Platform Management Interface) is a specification for independent management of a system. For example, with IPMI,
|
IPMI (Intelligent Platform Management Interface) is a specification for independent management of a system. For example, with IPMI,
|
||||||
|
|||||||
Reference in New Issue
Block a user