Update Home
13
Home.md
13
Home.md
@@ -12,10 +12,15 @@
|
||||
## Documentation
|
||||
|
||||
### Custom Filters
|
||||
#### Abbreviations
|
||||
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>`.
|
||||
* Use `safe` filter so that HTML is unescaped.
|
||||
* `abbr` - 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>`.
|
||||
* 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
|
||||
* `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