Defines markup for a page date
- Since:
- 1.0.0
- Source:
- See:
Parameters:
Name | Type | Description |
---|---|---|
date | Object | From Eleventy’s |
Returns:
- Type:
string
HTML
Example
// In an Eleventy template
`${this.pageDate(data.page.date)}`
Defines markup for a page date
Name | Type | Description |
---|---|---|
date | Object | From Eleventy’s |
string
HTML
// In an Eleventy template
`${this.pageDate(data.page.date)}`