我在后端得到了以下错误:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1518472189: The requested page does not exist |
TYPO3\CMS\Core\Error\Http\PageNotFoundException 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)应用程序--我应该在哪里以及如何添加它呢?
发布于 2021-03-06 16:10:38
在被headerData属性绊倒后,我找到了一种方法--将其添加到TypoScript根模板中:
page.headerData {
1 = TEXT
1.value = <link rel="apple-touch-icon" href="fileadmin/path_to_icons/apple-touch-icon.png">
}当涉及到安卓系统时,我也找到了这个答案。
不过,我的android浏览器似乎已经对苹果图标感到满意了。
https://stackoverflow.com/questions/66483787
复制相似问题