Skip to content

Commit

Permalink
Add web app manifest (#977)
Browse files Browse the repository at this point in the history
This allows installing the website as a progressive web app (PWA) on mobile devices and certain web browsers.
  • Loading branch information
jacobgkau authored May 30, 2024
1 parent a57c931 commit f446203
Show file tree
Hide file tree
Showing 15 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions public/app.webappmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "LANraragi",
"short_name": "LANraragi",
"start_url": "/",
"display": "standalone",
"description": "Web application for archival and reading of manga/doujinshi.",
"icons": [
{
"src": "favicon.ico",
"type": "image/png",
"sizes": "256x256"
}
]
}
1 change: 1 addition & 0 deletions templates/backup.html.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<meta name="apple-mobile-web-app-capable" content="yes" />

<link type="image/png" rel="icon" href="favicon.ico" />
<link rel="manifest" href="app.webmanifest" />
<link rel="stylesheet" type="text/css" href="/css/lrr.css?[% version%]" />

<link rel="stylesheet" type="text/css" href="/css/vendor/fontawesome-all.min.css" />
Expand Down
1 change: 1 addition & 0 deletions templates/batch.html.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<meta name="apple-mobile-web-app-capable" content="yes" />

<link type="image/png" rel="icon" href="favicon.ico" />
<link rel="manifest" href="app.webmanifest" />
<link rel="stylesheet" type="text/css" href="/css/lrr.css?[% version%]" />
<link rel="stylesheet" type="text/css" href="/css/vendor/fontawesome-all.min.css" />
<link rel="stylesheet" type="text/css" href="/css/vendor/ReactToastify.min.css" />
Expand Down
1 change: 1 addition & 0 deletions templates/category.html.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<meta name="apple-mobile-web-app-capable" content="yes" />

<link type="image/png" rel="icon" href="/favicon.ico" />
<link rel="manifest" href="app.webmanifest" />
<link rel="stylesheet" type="text/css" href="/css/lrr.css?[% version%]" />
<link rel="stylesheet" type="text/css" href="/css/vendor/fontawesome-all.min.css" />
<link rel="stylesheet" type="text/css" href="/css/vendor/ReactToastify.min.css" />
Expand Down
1 change: 1 addition & 0 deletions templates/config.html.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<meta name="apple-mobile-web-app-capable" content="yes" />

<link type="image/png" rel="icon" href="favicon.ico" />
<link rel="manifest" href="app.webmanifest" />
<link rel="stylesheet" type="text/css" href="/css/lrr.css?[% version%]" />
<link rel="stylesheet" type="text/css" href="/css/config.css" />

Expand Down
1 change: 1 addition & 0 deletions templates/edit.html.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<meta name="apple-mobile-web-app-capable" content="yes" />

<link type="image/png" rel="icon" href="favicon.ico" />
<link rel="manifest" href="app.webmanifest" />
<link rel="stylesheet" type="text/css" href="/css/lrr.css?[% version%]" />
<link rel="stylesheet" type="text/css" href="/css/config.css" />

Expand Down
1 change: 1 addition & 0 deletions templates/exception.production.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<meta name="apple-mobile-web-app-capable" content="yes" />

<link type="image/png" rel="icon" href="favicon.ico" />
<link rel="manifest" href="app.webmanifest" />
</head>

<body style='background: none repeat scroll 0% 0% brown; color: white; font-family: sans-serif; text-align: center'>
Expand Down
1 change: 1 addition & 0 deletions templates/index.html.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<meta name="apple-mobile-web-app-capable" content="yes" />

<link type="image/png" rel="icon" href="favicon.ico" />
<link rel="manifest" href="app.webmanifest" />
<link rel="stylesheet" type="text/css" href="/css/lrr.css?[% version %]" />

<link rel="stylesheet" type="text/css" href="/css/vendor/fontawesome-all.min.css" />
Expand Down
1 change: 1 addition & 0 deletions templates/login.html.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<meta name="apple-mobile-web-app-capable" content="yes" />

<link type="image/png" rel="icon" href="favicon.ico" />
<link rel="manifest" href="app.webmanifest" />
<link rel="stylesheet" type="text/css" href="/css/lrr.css?[% version%]" />

<link rel="stylesheet" type="text/css" href="./css/vendor/fontawesome-all.min.css" />
Expand Down
1 change: 1 addition & 0 deletions templates/logs.html.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<meta name="apple-mobile-web-app-capable" content="yes" />

<link type="image/png" rel="icon" href="favicon.ico" />
<link rel="manifest" href="app.webmanifest" />
<link rel="stylesheet" type="text/css" href="/css/lrr.css?[% version%]" />

<link rel="stylesheet" type="text/css" href="./css/vendor/fontawesome-all.min.css" />
Expand Down
1 change: 1 addition & 0 deletions templates/not_found.production.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<meta name="apple-mobile-web-app-capable" content="yes" />

<link type="image/png" rel="icon" href="favicon.ico" />
<link rel="manifest" href="app.webmanifest" />
</head>

<body style=' text-align: center'>
Expand Down
1 change: 1 addition & 0 deletions templates/plugins.html.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<meta name="apple-mobile-web-app-capable" content="yes" />

<link type="image/png" rel="icon" href="/favicon.ico" />
<link rel="manifest" href="app.webmanifest" />
<link rel="stylesheet" type="text/css" href="/css/lrr.css?[% version%]" />
<link rel="stylesheet" type="text/css" href="/css/config.css" />

Expand Down
1 change: 1 addition & 0 deletions templates/reader.html.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<meta name="apple-mobile-web-app-capable" content="yes" />

<link type="image/png" rel="icon" href="favicon.ico" />
<link rel="manifest" href="app.webmanifest" />
<link rel="stylesheet" type="text/css" href="/css/lrr.css?[% version %]" />
<link rel="stylesheet" type="text/css" href="/css/config.css?[% version %]" />

Expand Down
1 change: 1 addition & 0 deletions templates/stats.html.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<meta name="apple-mobile-web-app-capable" content="yes" />

<link type="image/png" rel="icon" href="favicon.ico" />
<link rel="manifest" href="app.webmanifest" />
<link rel="stylesheet" type="text/css" href="/css/lrr.css?[% version%]" />

<link rel="stylesheet" type="text/css" href="./css/vendor/fontawesome-all.min.css" />
Expand Down
1 change: 1 addition & 0 deletions templates/upload.html.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<meta name="apple-mobile-web-app-capable" content="yes" />

<link type="image/png" rel="icon" href="favicon.ico" />
<link rel="manifest" href="app.webmanifest" />
<link rel="stylesheet" type="text/css" href="/css/lrr.css?[% version%]" />

<link rel="stylesheet" type="text/css" href="./css/vendor/jquery.fileupload.css" />
Expand Down

0 comments on commit f446203

Please sign in to comment.