1
0

Update layout to adhere to data change

This commit is contained in:
suroh 2025-03-19 17:36:57 +01:00
parent 991f8c7601
commit cb8039ecec
2 changed files with 9 additions and 4 deletions
src
data
layouts

@ -46,8 +46,8 @@
"fr": "Une teste"
},
"summary": {
"en": "<p>Something here easy to remember</p>",
"fr": "<p>Quelque chose ici qui est facile a se rapeller.</p>"
"en": "**Something** here _easy_ to remember",
"fr": "**Quelque** chose ici qui est _facile_ a se rapeller."
},
"dates": [
"2025-02-04"

@ -16,7 +16,10 @@ layout: base.webc
</div>
</div>
<p @html="cv.header.summary[lang]"></p>
<template webc:type="11ty" 11ty:type="webc,md">
<p @raw="cv.header.summary[lang]"></p>
</template>
</header>
<template webc:for="x of cv.experience" webc:nokeep>
@ -33,7 +36,9 @@ layout: base.webc
</header>
<main>
<p @html="i.summary[lang]"></p>
<template webc:type="11ty" 11ty:type="webc,md">
<p webc:type="11ty" 11ty:type="webc,md" @raw="i.summary[lang]"></p>
</template>
</main>
</section>
</template>