A JavaScript Template module for the page.date
Parameters:
Name | Type | Description |
---|---|---|
eleventyConfig | Object | 11ty’s Config API |
Methods
(inner) pageDate(date) → {String}
Page date markup
Parameters:
Name | Type | Description |
---|---|---|
date | Object | The JS |
Returns:
- Type:
String
html An HTML template literal
Example
`${this.pageDate(data.page.date)}`