You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs-app/docs/features/routing/content.md
+56Lines changed: 56 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -161,6 +161,62 @@ export default class BlogPostComponent {
161
161
}
162
162
```
163
163
164
+
### Using A Resolver For Metatags
165
+
166
+
In your route configuration, you can use the `RouteMeta` object to resolve meta tags for a route. This is done by assigning the `postMetaResolver` function to the `meta` property.
167
+
168
+
Below is an example of using a `postMetaResolver` function that fetches the meta tags for a post. This function returns an array of meta tags.
Analog's markdown component supports [Mermaid](https://mermaid.js.org/). To enable support by the `MarkdownComponent` define a dynamic import for `loadMermaid` in `withMarkdownRenderer()`.
0 commit comments