blinkk / amagaki

A high-performance TypeScript static website generator for building highly-interactive websites. Localization inbuilt. Flexible URLs. Content managed and templates separated.
https://amagaki.dev
MIT License
36 stars 2 forks source link

Support Apple Touch Icons #156

Open uxder opened 2 years ago

uxder commented 2 years ago

Basic icons are currently supported but should we have a way to defined multiple sizes and apple-touch-icons?

<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">

https://github.com/blinkk/amagaki-plugin-page-builder/blob/main/src/page-builder.ts#L400

jeremydw commented 2 years ago

Let's definitely add support for this if it's useful and needed in Safari. Can you do a quick check and see how other tools generate their head + link elements? We can express the configuration the same way they do.