mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
85123: Document head tags in environment.common.ts
This commit is contained in:
@@ -293,8 +293,11 @@ export const environment: GlobalConfig = {
|
||||
{
|
||||
// The default dspace theme
|
||||
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',
|
||||
@@ -303,6 +306,7 @@ export const environment: GlobalConfig = {
|
||||
}
|
||||
},
|
||||
{
|
||||
// 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',
|
||||
@@ -311,6 +315,7 @@ export const environment: GlobalConfig = {
|
||||
}
|
||||
},
|
||||
{
|
||||
// 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',
|
||||
@@ -318,6 +323,7 @@ export const environment: GlobalConfig = {
|
||||
}
|
||||
},
|
||||
{
|
||||
// Insert <link rel="manifest" href="assets/dspace/images/favicons/manifest.webmanifest"/> into the <head> of the page.
|
||||
tagName: 'link',
|
||||
attributes: {
|
||||
'rel': 'manifest',
|
||||
|
Reference in New Issue
Block a user