From 9f44cecdada74c661718732fce2eaa05bb229153 Mon Sep 17 00:00:00 2001 From: Bruno Roemers Date: Thu, 16 Dec 2021 17:29:08 +0100 Subject: [PATCH] 85123: Document head tags in environment.common.ts --- src/environments/environment.common.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/environments/environment.common.ts b/src/environments/environment.common.ts index b8b7c31092..2eaed25195 100644 --- a/src/environments/environment.common.ts +++ b/src/environments/environment.common.ts @@ -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 of the page. + // Example use case: set the favicon based on the active theme. headTags: [ { + // Insert into the of the page. tagName: 'link', attributes: { 'rel': 'icon', @@ -303,6 +306,7 @@ export const environment: GlobalConfig = { } }, { + // Insert into the of the page. tagName: 'link', attributes: { 'rel': 'icon', @@ -311,6 +315,7 @@ export const environment: GlobalConfig = { } }, { + // Insert into the of the page. tagName: 'link', attributes: { 'rel': 'apple-touch-icon', @@ -318,6 +323,7 @@ export const environment: GlobalConfig = { } }, { + // Insert into the of the page. tagName: 'link', attributes: { 'rel': 'manifest',