astroid-framework icon indicating copy to clipboard operation
astroid-framework copied to clipboard

Trying inserting Favicons by the Favicon Astroid settings. Doesnt Work?

Open Chacapamac opened this issue 1 year ago • 3 comments

I create my icons at —> https://realfavicongenerator.net/

• I insert the files generated in a sub-folder to the root (e.g. “my-favicon”) with the “site.webmanifest” file and all images in.

Screen Shot 2024-03-24 at 10 15 18 AM

Note: remark the frontal backslash on the Astroid generated example when you said “Can be a relative path e.g. (manifest.json) e.g. (site.webmanifest) with no leading slash (/)” — Is this misleading?

— I insert and try both my-favicon/site.webmanifest and /my-favicon/site.webmanifest

It is not working?

• If I take the “Custom Code” route, it work perfectly e.g.

<!-- favicon links codes-->	
<link rel="apple-touch-icon" sizes="180x180" href="/my-favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/my-favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/my-favicon/favicon-16x16.png">
<link rel="manifest" href="/my-favicon/site.webmanifest">
<link rel="mask-icon" href="/my-favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/my-favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/my-favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">

Chacapamac avatar Mar 24 '24 14:03 Chacapamac

I fixed this issue in https://github.com/templaza/astroid-framework/commit/887653d77cdd6771a32870f8aba68f84a8c3307e

Please help me check it. Best Regards, Sonny

sonvnn avatar Mar 26 '24 04:03 sonvnn

What code should I use to test?

my-favicon/site.webmanifest or /my-favicon/site.webmanifest

“my-favicon” is a folder in the root

Chacapamac avatar Mar 28 '24 13:03 Chacapamac

What code should I use to test?

my-favicon/site.webmanifest or /my-favicon/site.webmanifest

“my-favicon” is a folder in the root

Sorry for late reply. You can use "my-favicon/site.webmanifest"

sonvnn avatar Apr 03 '24 03:04 sonvnn