Are touch/mobile icons fully supported yet? Per this issue post Support updates to touch icon sizes/requirements
I just need to make sure {{ touch_icons }} is in my html.html.twig head.
In my generated sub-theme I have correctly toggled on "touch icons" in theme settings, added the correct paths to touch icons tab.
But I am not seeing the "links" in the of the page source. I have tried toggling "precomposed" on and off.
Looking through preprocess.inc, it appears the code should work.
Where is the best practice to manually add the "link rel" for device icons in the theme template or twig?
Thanks for any guidance.
Comments
Comment #2
xacto CreditAttribution: xacto commentedComment #3
Jeff Burnz CreditAttribution: Jeff Burnz commentedCan't reproduce it I'm afraid, are you 100% sure those paths are correct?
Comment #4
xacto CreditAttribution: xacto commentedThanks jeff..
Still haven't figured it out.
According to the appearance settings->touch icon->tab. All paths should be relative to the theme's root folder. Correct?
yourthemename: images/touch-icons/your_icon.png
Is there a breakpoint I am missing?
I have been testing using macOS Safari, as well as Safari's developer "Responsive design mode" which should pass iOS browser and viewport size correctly.
Touch icons should also be passed to macOS desktop browsers for bookmark icons.
Thanks for the reply.
BTW is this the correct updated generated head from AT Tools Version: 8.x-2.0
in html.html.twig
Comment #5
Jeff Burnz CreditAttribution: Jeff Burnz commentedYep, that's correct.
What do you see in the actual output? Just nothing like: