mirror of
https://github.com/RdvSpeakers/camping-des-speakers-2022.git
synced 2026-03-10 08:51:18 +00:00
23 lines
664 B
JavaScript
23 lines
664 B
JavaScript
/**
|
|
* @file Contains data common to all pages, to reduce repetition
|
|
* @author Reuben L. Lillie <reubenlillie@gmail.com>
|
|
*/
|
|
|
|
/**
|
|
* Directory data module for pages
|
|
* @module content/pages
|
|
* @see {@link https://www.11ty.dev/docs/data-template-dir/ Template and directory data files in 11ty}
|
|
* @see {@link https://www.11ty.dev/docs/permalinks/ Permalinks in 11ty}
|
|
*/
|
|
export default {
|
|
layout: 'layouts/page',
|
|
// Note: The permalink value uses Nunjucks/Liquid syntax;
|
|
// a future version of 11ty may allow for JavaScript template literals
|
|
eleventyComputed: {
|
|
permalink: data => `/${data.page.fileSlug}/index.html`
|
|
},
|
|
tags: [
|
|
'pages',
|
|
]
|
|
}
|