Skip to content

Commit

Permalink
Add mobile stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoverbear committed Dec 15, 2024
1 parent 939f8f8 commit 04b2b25
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 1 deletion.
Binary file added static/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/favicon-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/favicon.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions static/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions static/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "Hoverbear",
"short_name": "Hoverbear",
"icons": [
{
"src": "/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#000000",
"background_color": "#000000",
"display": "standalone"
}
Binary file added static/web-app-manifest-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/web-app-manifest-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion templates/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,16 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- (1) force latest IE rendering engine: bit.ly/1c8EiC9 -->
<meta name="HandheldFriendly" content="True" />
<meta name="MobileOptimized" content="320" />

<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="shortcut icon" href="{{ config.base_url }}/images/favicon.ico">
<meta name="apple-mobile-web-app-title" content="Hoverbear" />

<link rel="icon" type="image/png" href="{{ config.base_url }}/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="{{ config.base_url }}/favicon.svg" />
<link rel="shortcut icon" href="{{ config.base_url }}/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="{{ config.base_url }}/apple-touch-icon.png" />
<link rel="manifest" href="{{ config.base_url }}/site.webmanifest" />

<!-- Information about this site -->
{%- if page -%}
Expand Down

0 comments on commit 04b2b25

Please sign in to comment.