Revision 53740
Added by Argiro Kokogiannaki over 5 years ago
mainSearch.module.ts | ||
---|---|---|
20 | 20 |
import {Schema2jsonldModule} from '../../sharedComponents/schema2jsonld/schema2jsonld.module'; |
21 | 21 |
|
22 | 22 |
import {PiwikServiceModule} from '../../utils/piwik/piwikService.module'; |
23 |
import { SEOServiceModule } from '../../sharedComponents/SEO/SEOService.module'; |
|
23 | 24 |
|
24 | 25 |
@NgModule({ |
25 | 26 |
imports: [ |
26 | 27 |
CommonModule, FormsModule, RouterModule, |
27 | 28 |
DataProvidersServiceModule, DatasetsServiceModule, SoftwareServiceModule, OrpsServiceModule, ProjectsServiceModule, |
28 | 29 |
PublicationsServiceModule, OrganizationsServiceModule, |
29 |
BrowseEntitiesModule, SearchFormModule, SearchResultsModule, PiwikServiceModule, Schema2jsonldModule |
|
30 |
BrowseEntitiesModule, SearchFormModule, SearchResultsModule, PiwikServiceModule, Schema2jsonldModule, SEOServiceModule
|
|
30 | 31 |
|
31 | 32 |
], |
32 | 33 |
declarations: [ |
Also available in: Unified diff
JSONLD:
add jsonld in all pages (advance, table view, link, deposit)
for search pages assign SearchResultsPage representation
for other pages assign Website
SEO service:
add a service that updates the rel canonical url (in client side)
call the service in each page