summaryrefslogtreecommitdiff
path: root/docs/guide/components/page-title/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/guide/components/page-title/index.md')
-rw-r--r--docs/guide/components/page-title/index.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/guide/components/page-title/index.md b/docs/guide/components/page-title/index.md
index db43f29f..2f635e74 100644
--- a/docs/guide/components/page-title/index.md
+++ b/docs/guide/components/page-title/index.md
@@ -1,4 +1,5 @@
# Page title
+
The `<page-title>` component will automatically render the page title that
corresponds with the title property set in the route record's meta field in
`src/router/routes.js`.
@@ -19,10 +20,9 @@ Optional page descriptions can be included by using the description prop
`:description` prop and passing in the i18n localized text string. Translations
are found in the `src/locales` folder.
-``` vue
+```vue
// Example: `src/views/AccessControl/Ldap/Ldap.vue`
- <page-title :description="$t('pageLdap.pageDescription')" />
+<page-title :description="$t('pageLdap.pageDescription')" />
```
-[View the page title component source
-code](https://github.com/openbmc/webui-vue/blob/master/src/components/Global/PageTitle.vue).
+[View the page title component source code](https://github.com/openbmc/webui-vue/blob/master/src/components/Global/PageTitle.vue).