Skip to content

Commit 576a820

Browse files
committed
Added proper code.
Signed-off-by: Someshdiwan <[email protected]>
1 parent cd0e554 commit 576a820

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

site/_layouts/default.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,15 @@
1111
<link rel="shortcut icon" href="{{ '/assets/favicon.ico' | relative_url }}" />
1212
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/apple-touch-icon.png' | relative_url }}" />
1313
<meta name="apple-mobile-web-app-title" content="Java" />
14+
1415
<link rel="manifest" href="{{ '/assets/site.webmanifest' | relative_url }}" />
1516

1617

18+
<!--<link rel="manifest" href="{{ '/assets/site.webmanifest' | relative_url }}" />
19+
<link rel="manifest" href="/Java-Mastery/assets/site.webmanifest">
20+
-->
21+
22+
1723
<title>{{ page.title }}</title>
1824
<link rel="stylesheet" href="{{ "/assets/style.css" | relative_url }}">
1925
<script>

site/assets/site.webmanifest

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"short_name": "Java",
44
"start_url": "/Java-Mastery/",
55
"scope": "/Java-Mastery/",
6+
"display": "standalone",
7+
"theme_color": "#ffffff",
8+
"background_color": "#ffffff",
69
"icons": [
710
{
811
"src": "/Java-Mastery/assets/web-app-manifest-192x192.png",
@@ -16,11 +19,7 @@
1619
"type": "image/png",
1720
"purpose": "maskable"
1821
}
19-
],
20-
"theme_color": "#ffffff",
21-
"background_color": "#ffffff",
22-
"display": "standalone",
23-
"orientation": "portrait"
22+
]
2423
}
2524

2625

0 commit comments

Comments
 (0)