fix(docs): dynamic title for docs page

This commit is contained in:
Alex 2020-05-06 17:42:10 +03:00
parent 6a3e0ac104
commit 9f9e04c224
3 changed files with 3 additions and 3 deletions

View file

@ -63,6 +63,7 @@ export class NgxAdminLandingPageComponent implements OnDestroy, OnInit {
}), }),
filter(item => item), filter(item => item),
tap((item: any) => { tap((item: any) => {
this.metaDataService.updateTitle(`Nebular - ${item.name}`);
this.metaDataService.updateDescription(item.description); this.metaDataService.updateDescription(item.description);
}), }),
publishReplay(), publishReplay(),

View file

@ -1,8 +1,9 @@
[ [
{ {
"checkoutTarget": "gh-pages-deploy-fix", "checkoutTarget": "demo",
"name": "demo", "name": "demo",
"path": "/ngx-admin/", "path": "/ngx-admin/",
"isCurrent": true "isCurrent": true
} }
] ]

View file

@ -1,3 +1 @@
export const DOCS_DIST = './docs/dist'; export const DOCS_DIST = './docs/dist';
export const DOCS_OUTPUT = './docs/output.json';
export const EXTENSIONS = ['ts', 'html', 'scss'];