Problem/Motivation
StaticGenerator::getHtmlAssets provides an array of HTML link relationships that are supported when generating an array of HTML assets to export. At the moment that does not include rel="apple-touch-icon". This means that unless using tome_add_paths or subscribing to TomeStaticEvents::COLLECT_PATHS and explicitly adding apple-touch-icons they will not be exported which can lead to broken functionality and 404 errors.
Steps to reproduce
Add your apple touch icon to html.html.twig like so:
<link rel="apple-touch-icon" sizes="144x144" href="/some/path/apple-touch-icon.png">
Then generate the static site, observe that the apple icon is not exported.
Proposed resolution
Add "apple-touch-icon" to the array of relationships to add to the export array in StaticGenerator::getHtmlAssets().
Remaining tasks
Test and Review.
User interface changes
None
API changes
None
Data model changes
None
Issue fork tome-3575288
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
owenbush commentedMR added.
Comment #4
owenbush commentedComment #5
owenbush commentedTests are failing for the MR, but they seem to be failing on all MRs and have been for months. The errors appear unrelated.
Comment #9
larowlanCommitted this thanks
I'll open an issue for failing tests in HEAD