From 7ae452fdfad85c329a00736b5f7e724e9f558639 Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Fri, 9 Aug 2019 12:19:07 -0700 Subject: [PATCH] Point to apple touch icon. --- examples/docs/src/js/helper.ts | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/examples/docs/src/js/helper.ts b/examples/docs/src/js/helper.ts index 8d867400..5cc77e23 100644 --- a/examples/docs/src/js/helper.ts +++ b/examples/docs/src/js/helper.ts @@ -10,6 +10,26 @@ export function pagesInit({ mainElmModule, imageAssets }: any) { appendTag(headTag); }); } + + // + // + appendTag({ + name: "link", + attributes: [ + ["rel", "apple-touch-icon"], + ["sizes", "180x180"], + ["href", "/apple-touch-icon-180x180.png"] + ] + }); + appendTag({ + name: "link", + attributes: [ + ["rel", "apple-touch-icon"], + ["sizes", "1024x1024"], + ["href", "/apple-touch-icon-1024x1024.png"] + ] + }); + appendTag({ name: "link", attributes: [["rel", "manifest"], ["href", "/manifest.webmanifest"]] @@ -29,3 +49,17 @@ export function pagesInit({ mainElmModule, imageAssets }: any) { document.getElementsByTagName("head")[0].appendChild(meta); } } +/* + + + + + + + + + + + + +*/