Skip to content

Commit

Permalink
[FEATURE] make some of the Favicons typoscript use constants (#188)
Browse files Browse the repository at this point in the history
* [FEATURE] make some of the Favicons typoscript use constants

* [TASK] remove redundant customsubcategory
  • Loading branch information
pixelmatseriks authored and dmh committed May 3, 2017
1 parent b9fe74b commit 28e8683
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Configuration/TypoScript/Library/page.headerData.setupts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
page.headerData.185 = TEXT
page.headerData.185.value (
<!-- Favicons -->
<link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" href="/favicons/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/favicons/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/favicons/manifest.json">
<link rel="mask-icon" href="/favicons/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/favicons/favicon.ico">
<meta name="msapplication-config" content="/favicons/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<link rel="apple-touch-icon" sizes="180x180" href="{$themes.configuration.favicons.path}/apple-touch-icon.png">
<link rel="icon" type="image/png" href="{$themes.configuration.favicons.path}/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="{$themes.configuration.favicons.path}/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="{$themes.configuration.favicons.path}/manifest.json">
<link rel="mask-icon" href="{$themes.configuration.favicons.path}/safari-pinned-tab.svg" color="{$themes.configuration.favicons.maskIconColor}">
<link rel="shortcut icon" href="{$themes.configuration.favicons.path}/favicon.ico">
<meta name="msapplication-config" content="{$themes.configuration.favicons.path}/browserconfig.xml">
<meta name="theme-color" content="{$themes.configuration.favicons.themeColor}">
)


Expand Down
10 changes: 10 additions & 0 deletions Configuration/TypoScript/Library/themes.basic.constantsts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@ themes.configuration.customPath = fileadmin/custom
# cat=theme,expert/iconFonts/; type=string; label=Icon Fonts Path
themes.configuration.iconFontsPath = EXT:theme_t3kit/Resources/Public/IconFonts

# customsubcategory=favicons= Favicons
# cat=theme,expert/favicons/; type=string; label=Favicons path
themes.configuration.favicons.path = /favicons

# cat=theme,expert/favicons/; type=color; label=Chrome for Android toolbar color
themes.configuration.favicons.themeColor = #ffffff

# cat=theme,expert/favicons/; type=color; label=Safari Pinned Tab Icon color
themes.configuration.favicons.maskIconColor = #5bbad5


# customsubcategory=spamProtect= SpamProtect
# Spam protect email addresses constants
Expand Down

0 comments on commit 28e8683

Please sign in to comment.