Update Home
9
Home.md
9
Home.md
@@ -12,10 +12,15 @@
|
|||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
### Custom Filters
|
### Custom Filters
|
||||||
#### Abbreviations
|
* `abbr` - Returns an `<abbr>` tag with a definition in the `title` attribute:
|
||||||
Returns an `<abbr>` tag with a definition in the `title` attribute:
|
|
||||||
* `{{ "USD" | abbr("United States Dollars") | safe }}` returns `<abbr title="United States Dollars">USD</abbr>`.
|
* `{{ "USD" | abbr("United States Dollars") | safe }}` returns `<abbr title="United States Dollars">USD</abbr>`.
|
||||||
* Use `safe` filter so that HTML is unescaped.
|
* Use `safe` filter so that HTML is unescaped.
|
||||||
|
* `niceDate` - returns a nice string from dates, E.G., `2026-01-01` returns `1st of January, 2026`
|
||||||
|
* `htmlDateString`
|
||||||
|
* `removeMostRecent` - removes most recent item from an array
|
||||||
|
* `markdownify` - parses string as markdown
|
||||||
|
* `removeHash` - removes the trailing "#" from strings
|
||||||
|
|
||||||
|
|
||||||
### Frontmatter
|
### Frontmatter
|
||||||
* `structuredData: none` - Disables "BlogPosting" schema JSON, Open Graph, and Twitter Card metadata, which is by default on for all templates with a `title`.
|
* `structuredData: none` - Disables "BlogPosting" schema JSON, Open Graph, and Twitter Card metadata, which is by default on for all templates with a `title`.
|
||||||
|
|||||||
Reference in New Issue
Block a user