在TYPO3应用程序中放置apple touch-icon的位置和方法



我在后台得到以下错误:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1518472189: The requested page does not exist | 
TYPO3CMSCoreErrorHttpPageNotFoundException thrown in file /var/www/vhosts/my-doma.in/typo3/sysext/frontend/Classes/Controller/ErrorController.php in line 80.
Requested URL: https://my-doma.in/apple-touch-icon-120x120.png 

要放置一个苹果图标,显然应该加上:

<link rel="apple-touch-icon" href="/path/to/apple-touch-icon.png">

的某个地方,如下所示:https://stackoverflow.com/a/21144916/4120196

但是给定一个TYPO3 (v9.5)应用程序-我应该在哪里以及如何添加它?

我发现了一个方法后绊倒headerData属性-将其添加到我的TypoScript根模板:

page.headerData {
1 = TEXT
1.value = <link rel="apple-touch-icon" href="fileadmin/path_to_icons/apple-touch-icon.png">
}

我在Android上也找到了这个答案。
我的android浏览器似乎对苹果图标已经很满意了。

最新更新