mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 03:23:07 +00:00
Merge branch 'main' of github.com:DSpace/dspace-angular into 1422-deploy-time-config
This commit is contained in:
@@ -292,11 +292,48 @@ export class DefaultAppConfig implements AppConfig {
|
||||
|
||||
{
|
||||
// The default dspace theme
|
||||
name: 'dspace'
|
||||
}
|
||||
name: 'dspace',
|
||||
// Whenever this theme is active, the following tags will be injected into the <head> of the page.
|
||||
// Example use case: set the favicon based on the active theme.
|
||||
headTags: [
|
||||
{
|
||||
// Insert <link rel="icon" href="assets/dspace/images/favicons/favicon.ico" sizes="any"/> into the <head> of the page.
|
||||
tagName: 'link',
|
||||
attributes: {
|
||||
'rel': 'icon',
|
||||
'href': 'assets/dspace/images/favicons/favicon.ico',
|
||||
'sizes': 'any',
|
||||
}
|
||||
},
|
||||
{
|
||||
// Insert <link rel="icon" href="assets/dspace/images/favicons/favicon.svg" type="image/svg+xml"/> into the <head> of the page.
|
||||
tagName: 'link',
|
||||
attributes: {
|
||||
'rel': 'icon',
|
||||
'href': 'assets/dspace/images/favicons/favicon.svg',
|
||||
'type': 'image/svg+xml',
|
||||
}
|
||||
},
|
||||
{
|
||||
// Insert <link rel="apple-touch-icon" href="assets/dspace/images/favicons/apple-touch-icon.png"/> into the <head> of the page.
|
||||
tagName: 'link',
|
||||
attributes: {
|
||||
'rel': 'apple-touch-icon',
|
||||
'href': 'assets/dspace/images/favicons/apple-touch-icon.png',
|
||||
}
|
||||
},
|
||||
{
|
||||
// Insert <link rel="manifest" href="assets/dspace/images/favicons/manifest.webmanifest"/> into the <head> of the page.
|
||||
tagName: 'link',
|
||||
attributes: {
|
||||
'rel': 'manifest',
|
||||
'href': 'assets/dspace/images/favicons/manifest.webmanifest',
|
||||
}
|
||||
},
|
||||
]
|
||||
},
|
||||
];
|
||||
|
||||
// Whether to enable media viewer for image and/or video Bitstreams (i.e. Bitstreams whose MIME type starts with 'image' or 'video').
|
||||
// Whether to enable media viewer for image and/or video Bitstreams (i.e. Bitstreams whose MIME type starts with "image" or "video").
|
||||
// For images, this enables a gallery viewer where you can zoom or page through images.
|
||||
// For videos, this enables embedded video streaming
|
||||
mediaViewer: MediaViewerConfig = {
|
||||
|
Reference in New Issue
Block a user