1
0

Update CV template to account for missing information

This commit is contained in:
Max Franklin 2025-03-20 08:44:03 +01:00
parent c9fb26ad9a
commit 0baac74b7c

@ -24,16 +24,16 @@ layout: base.webc
</header>
<template webc:for="x of cv.experience" webc:nokeep>
<template webc:for="x of cv.experience" webc:if="x.title && x.items.length" webc:nokeep>
<h3 @text="x.title[lang]" :id="x.slug[lang]"></h3>
<section webc:for="i of x.items" class="experience-item">
<section webc:for="i of x.items" webc:if="i.title && i.summary" class="experience-item">
<header id="i.title[lang]">
<h4 @text="i.title[lang]"></h4>
<div class="meta">
<span class="location" webc:if="i.location[lang]" @text="i.location[lang]"></span>
<span @text="i.dates[0]"></span>
<span webc:if="i.dates[1]" @text="' - ' + i.dates[1]"></span>
<span class="location" webc:if="i.location && i.location[lang]" @text="i.location[lang]"></span>
<span webc:if="i.dates && i.dates[0]" @text="i.dates[0]"></span>
<span webc:if="i.dates && i.dates[1]" @text="' - ' + i.dates[1]"></span>
</div>
</header>