use gulp-real-favicon

make favicons , files for safari, msfile, browserconfig, webmanifest, etc in gulp task
remove favicon2 so no exclamation mark favicon for now, until it can be incorporated
somehow. but the number like (x) is shown so it shouldnt matter.
maybe another commit can add a general "!" icon if somebody makes one
merge-requests/346/merge
Thomas Lynch 3 years ago
parent 6198def3f2
commit cfae852971
  1. 1
      CHANGELOG.md
  2. 5
      README.md
  3. 55
      configs/nginx/nginx.example
  4. 48
      configs/nginx/nginx_no_https.example
  5. 16
      configs/nginx/snippets/jschan_common_routes.conf
  6. BIN
      gulp/res/icons/android-chrome-192x192.png
  7. BIN
      gulp/res/icons/android-chrome-512x512.png
  8. BIN
      gulp/res/icons/apple-touch-icon.png
  9. 4
      gulp/res/icons/browserconfig.xml
  10. BIN
      gulp/res/icons/favicon-16x16.png
  11. BIN
      gulp/res/icons/favicon-32x32.png
  12. BIN
      gulp/res/icons/favicon.ico
  13. BIN
      gulp/res/icons/favicon2.ico
  14. 1
      gulp/res/icons/faviconData.json
  15. 9
      gulp/res/icons/html_code.html
  16. BIN
      gulp/res/icons/master.png
  17. BIN
      gulp/res/icons/mstile-150x150.png
  18. 242
      gulp/res/icons/safari-pinned-tab.svg
  19. 9
      gulp/res/icons/site.webmanifest
  20. 4
      gulp/res/js/titlescroll.js
  21. 92
      gulpfile.js
  22. 409
      package-lock.json
  23. 1
      package.json
  24. 8
      views/includes/favicon.pug
  25. 2
      views/includes/head.pug

@ -16,3 +16,4 @@
##### 0.1.3
- Script optimizations, improve script execution speed especially on longer threads
- Extra (u) download link for no reason
- favicon, webmanifest, browserconfig, etc for browsers made into gulp task

@ -113,8 +113,6 @@ If you use cloudflare, please read [these](https://support.cloudflare.com/hc/en-
Also included is an "nginx_advanced" config, and a snippets folder for advanced users who want to better organise and more easily customise the nginx configuration. It functions the same as the normal nginx.example, but you need to create the snippets folder in /etc/nginx/snippets, copy the example snippets, and edit them with your domain and installation path.
- Use https://realfavicongenerator.net/ to generate favicons how you want them to look and replace the files in gulp/res/icons/ with the icons from that package.
**7. Clone this repo, browse to the folder and set some things up**
```bash
@ -133,6 +131,9 @@ $ npm run-script setup
$ gulp reset
# NOTE: dont run gulp reset again unless you want to completely irreversibly wipe everything
# place your master favicon file in gulp/res/icons/master.png, then generate
gulp generate-favicon
# make pm2 (process manager) start on server restart
$ pm2 startup #and follow any prompts
# save the process list so jschan is started with pm2

@ -52,27 +52,6 @@ server {
return 200 "User-agent: *\nDisallow:\n";
}
location = /site.webmanifest {
access_log off;
expires max;
root /path/to/jschan/static/file;
try_files $uri =404;
}
location = /browserconfig.xml {
access_log off;
expires max;
root /path/to/jschan/static/file;
try_files $uri =404;
}
location = /favicon.ico {
access_log off;
expires max;
root /path/to/jschan/static/file;
try_files $uri =404;
}
location = / {
return 302 https://$host/index.html;
}
@ -170,21 +149,13 @@ server {
}
# Files (image, video, audio, other)
location ~* \.(png|jpg|jpeg|bmp|gif|apng|webp|jfif|pjpeg|mkv|mp4|webm|mov|svg|flac|mp3|ogg|wav|opus)$ {
location ~* \.(png|jpg|jpeg|bmp|webmanifest|xml|ico|gif|apng|webp|jfif|pjpeg|mkv|mp4|webm|mov|svg|flac|mp3|ogg|wav|opus)$ {
access_log off;
expires max;
root /path/to/jschan/static;
try_files $uri =404;
}
# Favicon, safari icons, apple-touch icon, browserconfig, mstiles, etc.
location ~* \.(webmanifest|xml)$ {
access_log off;
expires max;
root /path/to/jschan/static/file;
try_files $uri =404;
}
# "Other" Files for custom type uploads, uses content-disposition to prevent rendering
# inline in browser and will present a "save" dialog box. make sure these file
# extensions match for mimes defined in global settings
@ -277,20 +248,6 @@ server {
# return 200 "User-agent: *\nDisallow:\n";
# }
#
# location = /site.webmanifest {
# access_log off;
# expires max;
# root /path/to/jschan/static/file;
# try_files $uri =404;
# }
#
# location = /browserconfig.xml {
# access_log off;
# expires max;
# root /path/to/jschan/static/file;
# try_files $uri =404;
# }
#
# location = /favicon.ico {
# access_log off;
# expires max;
@ -396,21 +353,13 @@ server {
# }
#
# # Files (image, video, audio, other)
# location ~* \.(png|jpg|jpeg|bmp|gif|apng|webp|jfif|pjpeg|mkv|mp4|webm|mov|svg|mp3|ogg|wav|opus)$ {
# location ~* \.(png|jpg|jpeg|webmanifest|xml|ico|bmp|gif|apng|webp|jfif|pjpeg|mkv|mp4|webm|mov|svg|flac|mp3|ogg|wav|opus)$ {
# access_log off;
# expires max;
# root /path/to/jschan/static;
# try_files $uri =404;
# }
#
# # Favicon, safari icons, apple-touch icon, browserconfig, mstiles, etc.
# location ~* \.(webmanifest|xml)$ {
# access_log off;
# expires max;
# root /path/to/jschan/static/file;
# try_files $uri =404;
# }
#
# # "Other" Files for custom type uploads, uses content-disposition to prevent rendering
# # inline in browser and will present a "save" dialog box. make sure these file
# # extensions match for mimes defined in global settings

@ -52,20 +52,6 @@ server {
return 200 "User-agent: *\nDisallow:\n";
}
location = /site.webmanifest {
access_log off;
expires max;
root /path/to/jschan/static/file;
try_files $uri =404;
}
location = /browserconfig.xml {
access_log off;
expires max;
root /path/to/jschan/static/file;
try_files $uri =404;
}
location = /favicon.ico {
access_log off;
expires max;
@ -170,21 +156,13 @@ server {
}
# Files (image, video, audio, other)
location ~* \.(png|jpg|jpeg|bmp|gif|apng|webp|pjpeg|jfif|mkv|mp4|webm|mov|svg|flac|mp3|ogg|wav|opus)$ {
location ~* \.(png|jpg|jpeg|bmp|webmanifest|xml|ico|gif|apng|webp|pjpeg|jfif|mkv|mp4|webm|mov|svg|flac|mp3|ogg|wav|opus)$ {
access_log off;
expires max;
root /path/to/jschan/static;
try_files $uri =404;
}
# Favicon, safari icons, apple-touch icon, browserconfig, mstiles, etc.
location ~* \.(webmanifest|xml)$ {
access_log off;
expires max;
root /path/to/jschan/static/file;
try_files $uri =404;
}
# "Other" Files for custom type uploads, uses content-disposition to prevent rendering
# inline in browser and will present a "save" dialog box. make sure these file
# extensions match for mimes defined in global settings
@ -254,20 +232,6 @@ server {
# return 200 "User-agent: *\nDisallow:\n";
# }
#
# location = /site.webmanifest {
# access_log off;
# expires max;
# root /path/to/jschan/static/file;
# try_files $uri =404;
# }
#
# location = /browserconfig.xml {
# access_log off;
# expires max;
# root /path/to/jschan/static/file;
# try_files $uri =404;
# }
#
# location = /favicon.ico {
# access_log off;
# expires max;
@ -373,21 +337,13 @@ server {
# }
#
# # Files (image, video, audio, other)
# location ~* \.(png|jpg|jpeg|bmp|gif|apng|webp|jfif|pjpeg|mkv|mp4|webm|mov|svg|mp3|ogg|wav|opus)$ {
# location ~* \.(png|jpg|jpeg|bmp|webmanifest|xml|ico|gif|apng|webp|jfif|pjpeg|mkv|mp4|webm|mov|svg|flac|mp3|ogg|wav|opus)$ {
# access_log off;
# expires max;
# root /path/to/jschan/static;
# try_files $uri =404;
# }
#
# # Favicon, safari icons, apple-touch icon, browserconfig, mstiles, etc.
# location ~* \.(webmanifest|xml)$ {
# access_log off;
# expires max;
# root /path/to/jschan/static/file;
# try_files $uri =404;
# }
#
# # "Other" Files for custom type uploads, uses content-disposition to prevent rendering
# # inline in browser and will present a "save" dialog box. make sure these file
# # extensions match for mimes defined in global settings

@ -9,20 +9,6 @@ location = /robots.txt {
return 200 "User-agent: *\nDisallow:\n";
}
location = /site.webmanifest {
access_log off;
expires max;
root /path/to/jschan/static/file;
try_files $uri =404;
}
location = /browserconfig.xml {
access_log off;
expires max;
root /path/to/jschan/static/file;
try_files $uri =404;
}
location = /favicon.ico {
access_log off;
expires max;
@ -79,7 +65,7 @@ location ~* \.js$ {
}
# Files (image, video, audio, other)
location ~* \.(png|jpg|jpeg|webmanifest|apng|bmp|webp|pjpeg|jfif|gif|mp4|webm|mov|mkv|svg|flac|mp3|ogg|wav|opus)$ {
location ~* \.(png|jpg|jpeg|webmanifest|xml|ico|apng|bmp|webp|pjpeg|jfif|gif|mp4|webm|mov|mkv|svg|flac|mp3|ogg|wav|opus)$ {
access_log off;
expires max;
root /path/to/jschan/static;

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 22 KiB

@ -2,8 +2,8 @@
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/file/mstile-150x150.png"/>
<TileColor>#00aba9</TileColor>
<square150x150logo src="/file/mstile-150x150.png?v=xQ7mAqrA0R"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

@ -0,0 +1 @@
{"result":{"status":"success"},"favicon":{"package_url":"https://realfavicongenerator.net/files/111c5f5df236b0ae2da681f9b09ff537e3283334/favicon_package_v0.16.zip","files_urls":["https://realfavicongenerator.net/files/111c5f5df236b0ae2da681f9b09ff537e3283334/package_files/android-chrome-192x192.png","https://realfavicongenerator.net/files/111c5f5df236b0ae2da681f9b09ff537e3283334/package_files/android-chrome-512x512.png","https://realfavicongenerator.net/files/111c5f5df236b0ae2da681f9b09ff537e3283334/package_files/apple-touch-icon.png","https://realfavicongenerator.net/files/111c5f5df236b0ae2da681f9b09ff537e3283334/package_files/browserconfig.xml","https://realfavicongenerator.net/files/111c5f5df236b0ae2da681f9b09ff537e3283334/package_files/favicon-16x16.png","https://realfavicongenerator.net/files/111c5f5df236b0ae2da681f9b09ff537e3283334/package_files/favicon-32x32.png","https://realfavicongenerator.net/files/111c5f5df236b0ae2da681f9b09ff537e3283334/package_files/favicon.ico","https://realfavicongenerator.net/files/111c5f5df236b0ae2da681f9b09ff537e3283334/package_files/html_code.html","https://realfavicongenerator.net/files/111c5f5df236b0ae2da681f9b09ff537e3283334/package_files/mstile-150x150.png","https://realfavicongenerator.net/files/111c5f5df236b0ae2da681f9b09ff537e3283334/package_files/safari-pinned-tab.svg","https://realfavicongenerator.net/files/111c5f5df236b0ae2da681f9b09ff537e3283334/package_files/site.webmanifest"],"html_code":"<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/file/apple-touch-icon.png?v=xQ7mAqrA0R\">\n<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/file/favicon-32x32.png?v=xQ7mAqrA0R\">\n<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/file/favicon-16x16.png?v=xQ7mAqrA0R\">\n<link rel=\"manifest\" href=\"/file/site.webmanifest?v=xQ7mAqrA0R\">\n<link rel=\"mask-icon\" href=\"/file/safari-pinned-tab.svg?v=xQ7mAqrA0R\" color=\"#990000\">\n<link rel=\"shortcut icon\" href=\"/file/favicon.ico?v=xQ7mAqrA0R\">\n<meta name=\"msapplication-TileColor\" content=\"#da532c\">\n<meta name=\"msapplication-config\" content=\"/file/browserconfig.xml?v=xQ7mAqrA0R\">\n<meta name=\"theme-color\" content=\"#ffffff\">","compression":"false","overlapping_markups":["link[rel=\"apple-touch-icon\"]","link[rel=\"shortcut\"]","link[rel=\"shortcut icon\"]","link[rel=\"icon\",sizes=\"16x16\"]","link[rel=\"icon\",sizes=\"32x32\"]","meta[name=\"msapplication-TileColor\"]","meta[name=\"msapplication-config\"]","link[rel=\"manifest\"]","meta[name=\"theme-color\"]","link[rel=\"mask-icon\"]"]},"files_location":{"type":"path","path":"/file"},"preview_picture_url":"https://realfavicongenerator.net/files/111c5f5df236b0ae2da681f9b09ff537e3283334/favicon_preview.png","version":"0.16"}

@ -0,0 +1,9 @@
<link rel="apple-touch-icon" sizes="180x180" href="/file/apple-touch-icon.png?v=xQ7mAqrA0R">
<link rel="icon" type="image/png" sizes="32x32" href="/file/favicon-32x32.png?v=xQ7mAqrA0R">
<link rel="icon" type="image/png" sizes="16x16" href="/file/favicon-16x16.png?v=xQ7mAqrA0R">
<link rel="manifest" href="/file/site.webmanifest?v=xQ7mAqrA0R">
<link rel="mask-icon" href="/file/safari-pinned-tab.svg?v=xQ7mAqrA0R" color="#990000">
<link rel="shortcut icon" href="/file/favicon.ico?v=xQ7mAqrA0R">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/file/browserconfig.xml?v=xQ7mAqrA0R">
<meta name="theme-color" content="#ffffff">

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

@ -2,34 +2,228 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="150.000000pt" height="150.000000pt" viewBox="0 0 150.000000 150.000000"
width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.11, written by Peter Selinger 2001-2013
</metadata>
<g transform="translate(0.000000,150.000000) scale(0.100000,-0.100000)"
<g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M280 1482 c-66 -33 -96 -109 -70 -177 8 -21 16 -26 38 -23 24 3 27 6
23 38 -8 88 -6 102 16 117 21 14 23 13 34 -9 8 -19 7 -33 -5 -63 -21 -50 -20
-93 5 -160 22 -59 24 -60 63 -45 31 12 32 28 5 82 -23 45 -20 76 12 116 23 29
24 63 4 101 -23 45 -65 53 -125 23z"/>
<path d="M645 1445 c-33 -14 -61 -25 -63 -25 -2 0 -11 -19 -21 -42 -13 -30
-21 -81 -25 -168 -10 -184 -11 -186 -56 -198 -28 -7 -42 -6 -52 3 -44 42 -208
103 -208 78 0 -7 -22 -5 -58 3 -31 8 -69 14 -83 14 -28 0 -62 -30 -58 -52 1
-7 -2 -21 -6 -32 -5 -11 -4 -26 3 -36 9 -14 8 -21 -3 -30 -8 -7 -15 -21 -15
-31 0 -39 74 -51 151 -24 40 14 47 14 104 -5 97 -32 94 -27 99 -175 5 -153 29
-241 102 -367 43 -75 44 -79 28 -103 -9 -14 -22 -25 -29 -25 -7 0 -15 -6 -17
-12 -3 -9 -33 -13 -98 -14 -112 0 -120 -7 -120 -101 l0 -63 68 0 c37 0 111 -3
166 -7 l99 -6 -7 46 c-6 39 -5 47 8 47 9 0 16 6 16 13 0 22 72 83 119 101 75
29 131 35 211 25 59 -8 78 -15 90 -32 8 -12 27 -36 43 -53 15 -17 27 -41 27
-53 0 -12 6 -21 15 -21 8 0 15 -6 15 -13 0 -22 35 -47 72 -53 23 -4 68 4 139
26 192 58 172 47 166 94 -4 28 -14 48 -34 64 -25 21 -35 23 -98 18 -38 -4 -88
-9 -110 -12 -38 -5 -41 -4 -50 22 -10 27 -8 29 35 52 112 59 154 141 148 287
-5 110 -40 205 -109 297 l-46 62 71 34 c39 18 98 38 131 44 33 6 68 17 78 26
21 19 22 61 2 68 -8 4 -15 19 -15 35 0 18 -7 32 -20 39 -13 7 -20 21 -20 41 0
57 -31 51 -149 -26 -37 -25 -74 -45 -82 -45 -8 0 -37 -17 -64 -38 -43 -33 -56
-37 -91 -34 l-41 4 -13 71 c-46 259 -164 356 -345 282z"/>
<path d="M396 1147 c-28 -21 -18 -61 17 -65 27 -3 28 -2 25 34 -3 42 -15 51
-42 31z"/>
<path d="M1067 5100 c-4 -15 -14 -20 -42 -20 -22 0 -47 -8 -62 -20 -14 -11
-33 -20 -42 -20 -24 0 -158 -140 -166 -172 -4 -15 -13 -32 -21 -39 -8 -6 -14
-19 -14 -28 0 -9 -7 -25 -15 -35 -22 -28 -21 -228 0 -246 8 -7 15 -28 15 -47
0 -19 9 -47 22 -63 21 -28 26 -30 93 -30 62 0 74 3 93 23 28 30 29 84 2 134
-11 21 -20 47 -20 58 -1 11 -7 31 -15 45 -9 16 -14 55 -15 108 0 82 0 83 39
125 22 23 61 51 87 61 l47 19 29 -32 c15 -17 28 -40 28 -50 0 -10 7 -24 15
-31 21 -17 19 -69 -5 -105 -11 -16 -20 -39 -20 -51 0 -12 -14 -48 -31 -80 -32
-58 -32 -60 -30 -194 2 -106 5 -137 17 -143 8 -5 14 -23 14 -44 0 -20 7 -44
15 -53 8 -9 17 -34 21 -55 3 -22 12 -47 20 -56 8 -8 14 -21 14 -28 0 -18 43
-90 58 -96 7 -3 31 4 52 15 22 11 50 20 62 20 65 1 103 100 59 156 -11 15 -21
35 -21 44 0 10 -7 23 -15 30 -8 7 -15 19 -15 27 0 8 -9 26 -20 40 -11 14 -20
34 -20 43 0 10 -7 23 -15 30 -19 16 -20 103 -1 133 8 12 17 38 20 58 4 23 20
49 47 75 64 63 89 121 89 214 0 57 -4 81 -15 90 -8 7 -15 19 -15 27 0 8 -9 26
-20 40 -11 14 -20 34 -20 44 0 19 -44 59 -66 59 -8 0 -19 9 -26 20 -11 17 -24
20 -99 20 -78 0 -87 -2 -92 -20z"/>
<path d="M2390 4990 c-13 -11 -37 -20 -55 -20 -18 0 -38 -7 -45 -15 -7 -8 -25
-15 -40 -15 -15 0 -65 -20 -111 -45 -46 -25 -95 -49 -109 -55 -14 -5 -32 -14
-40 -18 -20 -12 -100 -172 -100 -201 0 -14 -8 -33 -17 -44 -16 -17 -18 -47
-21 -247 -2 -185 -6 -231 -18 -240 -11 -10 -14 -53 -14 -233 0 -192 -2 -223
-17 -239 -9 -11 -18 -42 -21 -74 -4 -47 -8 -57 -29 -65 -13 -5 -33 -9 -44 -9
-11 0 -27 -7 -35 -15 -9 -9 -34 -15 -61 -15 -25 0 -58 -8 -74 -17 l-29 -17
-52 52 c-28 29 -57 52 -65 52 -8 0 -26 9 -40 20 -14 11 -34 20 -44 20 -10 0
-20 4 -24 9 -3 5 -31 22 -63 36 -31 14 -69 37 -83 51 -14 14 -43 28 -65 31
-21 3 -48 12 -59 19 -11 8 -31 14 -45 14 -15 0 -35 7 -46 15 -12 9 -43 14 -87
15 -62 0 -68 -2 -79 -24 -14 -31 -33 -39 -48 -20 -8 8 -30 14 -57 14 -24 0
-58 7 -76 17 -19 10 -51 15 -79 14 -31 -1 -61 5 -87 19 -31 15 -59 20 -126 20
l-86 0 -60 -57 c-48 -46 -59 -62 -59 -88 0 -18 7 -38 15 -45 21 -17 20 -20
-20 -63 -29 -31 -35 -46 -35 -81 0 -35 6 -48 35 -76 19 -19 35 -39 35 -43 0
-11 -90 -97 -102 -97 -4 0 -8 -24 -8 -54 0 -51 2 -56 34 -75 18 -12 40 -21 48
-21 9 0 21 -7 28 -15 17 -21 253 -21 290 0 14 8 36 14 50 15 14 0 36 7 48 16
13 9 39 18 57 19 19 2 45 11 57 19 28 20 78 21 104 1 10 -8 33 -15 49 -15 17
0 44 -9 60 -20 17 -11 42 -20 56 -20 14 0 34 -7 45 -15 10 -8 30 -15 44 -15
35 0 187 -78 230 -118 32 -30 34 -33 22 -65 -8 -23 -12 -117 -12 -298 0 -218
3 -269 15 -285 11 -14 14 -50 15 -142 0 -103 3 -128 20 -159 11 -21 20 -56 20
-78 0 -23 7 -50 15 -61 8 -10 15 -32 15 -47 0 -16 6 -41 14 -55 8 -15 17 -43
21 -63 3 -21 12 -42 20 -49 8 -7 15 -20 15 -29 0 -9 7 -25 15 -35 8 -11 15
-31 15 -44 0 -26 87 -202 100 -202 9 0 100 -176 100 -193 0 -5 16 -25 35 -44
19 -19 35 -43 35 -53 0 -10 7 -23 15 -30 25 -21 18 -67 -14 -99 -16 -15 -32
-39 -36 -52 -10 -34 -45 -69 -69 -69 -44 0 -64 -12 -69 -40 -6 -26 -10 -28
-66 -32 -37 -3 -67 -11 -79 -21 -27 -25 -306 -25 -334 -1 -10 10 -40 19 -67
22 -41 4 -52 1 -67 -17 -10 -11 -28 -21 -39 -21 -27 0 -65 -40 -65 -67 0 -11
-7 -26 -15 -33 -12 -10 -15 -47 -15 -216 l0 -204 323 0 c304 0 324 -1 352 -20
27 -18 47 -20 217 -20 102 0 193 3 202 6 21 8 22 120 1 148 -15 20 -21 110 -9
140 3 9 17 16 31 16 42 0 63 18 63 52 0 28 18 50 128 160 116 116 131 128 164
128 19 0 41 7 48 15 7 8 19 15 28 15 8 0 23 7 33 16 10 9 36 18 58 21 22 3 46
12 52 19 6 8 27 14 46 14 20 0 46 9 60 20 21 16 41 20 107 20 55 1 87 5 100
15 27 20 115 19 145 -1 18 -13 46 -16 129 -15 92 1 111 -1 137 -19 23 -15 47
-20 97 -20 62 0 68 -2 92 -31 14 -17 26 -38 26 -47 0 -9 16 -33 35 -52 19 -19
35 -41 35 -50 0 -8 38 -53 85 -100 l85 -85 0 -67 c0 -38 3 -69 8 -69 4 -1 22
-3 41 -5 40 -5 51 -17 51 -57 0 -39 102 -147 139 -147 14 0 40 -9 56 -20 25
-16 47 -20 125 -20 83 0 98 3 113 20 11 14 29 20 56 20 25 0 41 5 45 15 3 10
19 15 44 15 25 0 47 7 62 20 16 14 37 20 70 20 25 0 55 7 66 15 10 8 30 15 44
15 14 0 39 9 55 20 17 11 44 20 60 20 17 0 39 7 49 15 11 8 40 15 65 15 25 0
51 6 60 15 9 8 33 16 54 18 21 2 45 11 55 20 9 8 26 17 37 19 18 3 20 12 23
82 2 61 -1 82 -13 96 -9 10 -18 35 -22 56 -6 43 -65 114 -94 114 -10 0 -35 16
-56 35 l-38 35 -181 0 c-149 0 -184 -3 -194 -15 -8 -10 -31 -15 -66 -15 -42 0
-58 -5 -71 -20 -15 -18 -30 -20 -119 -20 -56 0 -109 3 -118 6 -11 4 -16 19
-16 44 0 23 -8 46 -20 60 -11 13 -20 30 -20 38 0 9 -8 24 -17 34 -21 24 -8 39
41 42 20 2 45 11 54 20 10 9 25 16 33 16 8 0 30 16 49 35 19 19 44 35 56 35
12 0 27 7 34 15 7 8 19 15 28 15 8 0 62 46 119 102 84 83 113 118 144 180 21
43 39 87 39 98 0 11 9 37 20 57 11 21 20 50 20 64 0 15 7 32 15 39 22 18 22
575 0 604 -8 11 -15 32 -15 46 0 14 -9 43 -20 65 -11 22 -20 48 -20 60 0 11
-7 29 -15 39 -8 11 -15 32 -15 46 0 15 -22 70 -50 124 -27 54 -50 109 -50 123
0 15 -14 41 -35 64 -19 22 -35 45 -35 52 0 8 -9 22 -21 33 -12 10 -32 39 -44
64 -13 25 -48 70 -79 100 -31 30 -56 60 -56 67 0 7 -16 31 -36 53 -30 33 -34
43 -24 55 7 8 27 15 45 15 18 0 38 7 45 15 7 8 20 15 30 15 9 0 27 9 40 20 13
11 31 20 40 20 10 0 23 7 30 15 7 8 20 15 30 15 9 0 27 9 40 20 13 11 30 20
40 20 9 0 20 4 26 9 21 22 107 61 133 61 16 0 34 7 41 15 9 11 34 15 98 15 67
0 90 4 105 18 14 12 38 17 87 18 67 2 68 2 120 53 28 28 56 51 61 51 5 0 9 33
9 74 0 61 -3 75 -17 80 -10 3 -26 10 -35 16 -10 5 -26 14 -35 19 -15 7 -19 24
-21 97 -2 74 -6 92 -24 111 -12 13 -29 23 -39 23 -10 0 -31 12 -48 26 -30 25
-31 27 -31 118 0 91 -1 93 -30 114 -16 12 -43 22 -59 22 -36 0 -196 -81 -229
-116 -13 -13 -31 -24 -40 -24 -10 0 -33 -16 -52 -35 -19 -19 -44 -35 -56 -35
-12 0 -24 -7 -28 -15 -3 -8 -15 -15 -26 -15 -12 0 -47 -24 -79 -55 -32 -30
-65 -55 -73 -55 -9 0 -21 -6 -27 -14 -6 -8 -37 -15 -70 -18 -49 -3 -64 -9 -90
-35 -17 -18 -41 -35 -54 -39 -12 -4 -37 -20 -55 -35 -18 -16 -37 -29 -43 -29
-5 0 -41 -29 -79 -65 -72 -68 -98 -77 -134 -50 -14 11 -47 15 -116 15 -61 0
-100 4 -108 12 -7 7 -12 39 -12 73 0 43 -6 68 -20 90 -14 22 -20 47 -20 91 0
42 -5 65 -15 74 -11 9 -15 33 -15 85 0 59 -4 75 -20 90 -13 12 -20 31 -20 55
0 21 -7 43 -15 50 -8 7 -15 27 -15 45 0 18 -9 44 -20 58 -11 14 -20 30 -20 35
0 19 -113 227 -142 260 -15 18 -28 39 -28 48 0 30 -89 111 -157 143 -38 18
-90 45 -118 61 -49 28 -52 29 -211 29 -147 1 -163 -1 -184 -19z m365 -130
c122 -61 192 -117 222 -175 8 -16 23 -39 33 -50 21 -24 100 -174 100 -191 0
-6 7 -17 15 -24 8 -7 15 -20 15 -30 0 -9 9 -29 20 -43 11 -14 20 -40 20 -60 0
-19 7 -40 15 -47 8 -7 15 -27 15 -44 0 -17 9 -44 20 -61 14 -22 20 -47 20 -91
0 -37 6 -68 15 -80 9 -11 14 -42 15 -77 0 -37 7 -70 20 -94 17 -32 20 -57 20
-164 0 -111 -2 -129 -20 -152 -12 -15 -20 -40 -20 -61 0 -23 -5 -39 -15 -42
-10 -4 -15 -20 -15 -44 0 -22 -8 -48 -20 -63 -11 -14 -20 -32 -20 -39 0 -19
-124 -138 -143 -138 -7 0 -22 -9 -33 -21 -24 -27 -127 -79 -156 -79 -13 0 -32
-7 -42 -15 -29 -22 -383 -22 -412 0 -11 9 -42 14 -77 15 -93 0 -198 59 -314
173 -51 50 -93 99 -93 108 0 9 -7 22 -15 29 -22 18 -22 705 0 734 12 16 15 60
15 221 0 161 3 205 15 221 8 10 15 28 15 39 0 25 82 196 101 211 36 29 238
124 263 124 16 0 37 7 47 16 10 9 36 18 58 21 22 3 46 12 52 19 8 9 34 14 78
14 62 0 76 -5 186 -60z m2019 -636 c12 -4 16 -20 16 -56 0 -44 -4 -54 -34 -84
-19 -19 -41 -34 -49 -34 -8 0 -20 -7 -27 -15 -7 -8 -28 -15 -46 -15 -32 0 -74
-28 -74 -49 0 -19 51 -41 95 -41 33 0 67 10 116 35 39 19 75 35 82 35 19 0 67
-53 67 -75 0 -12 -6 -29 -12 -38 -17 -22 -126 -77 -153 -77 -33 0 -58 -23 -51
-47 12 -37 85 -44 143 -13 53 28 104 26 142 -6 42 -35 42 -73 0 -108 -25 -22
-41 -26 -92 -26 -39 -1 -69 -6 -81 -15 -14 -10 -45 -15 -100 -15 -59 0 -84 -4
-97 -16 -27 -24 -92 -23 -119 1 -12 11 -44 65 -70 120 -37 78 -61 112 -104
153 -31 29 -56 61 -56 71 0 21 73 91 95 91 8 0 29 13 47 29 18 15 59 41 92 56
32 15 67 36 77 46 16 16 154 95 171 98 3 1 13 -2 22 -5z m-613 -406 c6 -13 40
-53 75 -90 35 -36 64 -73 64 -81 0 -8 7 -20 15 -27 8 -7 15 -20 15 -30 0 -9 9
-29 21 -44 24 -30 19 -56 -11 -56 -11 0 -28 -9 -37 -20 -10 -11 -27 -20 -39
-20 -12 0 -27 -7 -34 -15 -7 -8 -21 -15 -31 -15 -11 0 -27 -9 -36 -20 -10 -11
-27 -20 -39 -20 -12 0 -27 -7 -34 -15 -7 -8 -28 -15 -46 -15 -29 0 -36 5 -48
34 -8 18 -19 37 -25 40 -6 4 -11 15 -11 25 0 11 -29 49 -65 86 -36 38 -65 74
-65 81 0 8 18 25 39 38 22 14 42 29 45 35 3 5 27 19 52 31 25 13 48 29 51 36
2 7 19 18 37 24 18 6 44 22 56 35 29 31 36 31 51 3z m-3786 -138 c22 -14 47
-20 91 -20 37 0 68 -6 80 -15 11 -8 41 -14 71 -15 41 0 54 -4 63 -19 17 -32
12 -103 -10 -136 -15 -22 -20 -47 -20 -96 0 -47 -4 -70 -15 -79 -8 -7 -15 -20
-15 -29 0 -28 -52 -71 -86 -71 -16 0 -42 -9 -59 -20 -16 -11 -41 -20 -55 -20
-14 0 -34 -7 -44 -15 -14 -11 -47 -15 -121 -15 -93 0 -102 2 -127 25 -15 14
-25 31 -22 38 7 16 93 57 120 57 11 0 29 7 40 15 10 8 40 15 65 15 32 0 55 7
73 21 l27 21 -22 24 c-20 21 -31 24 -102 24 -64 0 -84 4 -104 20 -14 11 -34
20 -44 20 -32 0 -23 37 10 45 16 3 35 13 42 21 8 10 34 14 92 14 82 0 117 14
117 46 0 23 -43 44 -90 44 -25 0 -54 7 -64 15 -11 8 -32 15 -47 15 -14 0 -32
7 -39 15 -11 13 -8 21 15 45 26 27 35 30 89 30 44 0 69 -6 91 -20z m542 -80
c14 -11 40 -20 58 -20 21 0 39 -8 55 -25 13 -13 84 -55 158 -91 188 -93 197
-105 137 -171 -19 -21 -35 -45 -35 -53 0 -8 -7 -24 -15 -34 -8 -11 -15 -38
-15 -60 0 -62 -12 -74 -52 -57 -18 7 -44 15 -58 18 -14 3 -57 20 -96 39 -39
19 -83 34 -97 34 -13 0 -30 7 -37 15 -7 8 -29 15 -50 15 -21 0 -43 7 -50 15
-7 8 -18 15 -26 15 -44 0 -62 100 -24 135 13 12 20 31 20 55 0 21 7 43 15 50
8 7 15 28 15 47 0 25 8 43 29 64 35 34 36 35 68 9z m2674 -21 c65 -33 103 -61
172 -128 48 -47 87 -91 87 -98 0 -19 49 -105 75 -133 13 -14 27 -37 30 -52 4
-14 24 -42 46 -62 22 -19 46 -50 54 -68 7 -18 41 -60 74 -93 62 -60 75 -91 44
-101 -10 -3 -25 -9 -33 -14 -59 -36 -116 -60 -140 -60 -16 0 -31 -4 -34 -9
-10 -16 -112 -61 -138 -61 -14 0 -31 -7 -38 -15 -7 -8 -27 -15 -44 -15 -17 0
-44 -9 -61 -20 -16 -11 -44 -20 -61 -20 -17 0 -37 -7 -44 -15 -8 -10 -30 -15
-65 -15 -39 0 -56 -5 -70 -20 -12 -13 -31 -20 -55 -20 -21 0 -43 -7 -50 -15
-9 -11 -34 -15 -94 -15 -64 0 -87 -4 -111 -20 -27 -18 -47 -20 -231 -20 -167
0 -204 -3 -214 -15 -11 -13 -87 -15 -575 -15 -488 0 -564 2 -575 15 -7 9 -29
15 -55 15 -47 0 -146 45 -170 76 -23 31 -20 161 6 203 16 26 20 48 18 100 -1
43 4 79 15 103 9 21 16 52 16 70 0 50 46 129 115 198 51 50 70 63 103 67 23 3
47 12 53 19 7 9 31 14 62 14 66 0 107 -34 107 -91 0 -20 7 -42 15 -49 8 -7 15
-19 15 -28 0 -8 39 -54 86 -102 70 -72 101 -95 170 -129 69 -33 96 -41 141
-41 37 0 62 -5 74 -16 26 -23 599 -23 634 0 14 9 34 16 45 16 26 0 122 48 133
66 4 8 24 21 43 29 42 17 144 112 144 133 0 9 7 23 16 33 9 10 18 36 21 58 3
22 12 46 19 52 8 6 14 27 14 46 0 20 9 46 20 60 17 22 20 41 20 129 0 72 4
104 13 107 33 14 81 4 158 -34z m-370 -1278 c24 -24 29 -38 29 -78 0 -26 7
-57 15 -67 19 -25 21 -156 3 -174 -7 -7 -33 -12 -58 -12 -25 0 -55 -7 -66 -15
-13 -10 -44 -14 -97 -15 -54 0 -85 -5 -102 -16 -19 -13 -49 -16 -138 -15 -91
1 -117 -1 -127 -14 -7 -8 -19 -15 -28 -15 -24 0 -62 41 -62 67 0 13 -9 41 -20
63 -13 25 -20 59 -20 93 0 29 -5 58 -11 64 -6 6 -9 21 -7 34 3 23 7 24 108 29
58 3 115 11 127 18 12 6 54 12 93 12 51 0 82 6 110 20 29 15 50 18 82 14 34
-5 52 -2 78 15 46 27 56 27 91 -8z m1509 -1626 c23 -19 47 -35 53 -35 6 0 28
-17 49 -37 31 -30 38 -44 38 -75 0 -44 -30 -78 -69 -78 -14 -1 -37 -7 -51 -15
-14 -8 -44 -14 -67 -15 -24 0 -57 -9 -75 -20 -18 -11 -44 -20 -58 -20 -14 0
-34 -7 -44 -15 -11 -8 -33 -15 -50 -15 -16 0 -37 -7 -45 -15 -9 -8 -42 -16
-74 -18 -34 -3 -65 -11 -75 -21 -10 -9 -35 -16 -56 -16 -23 0 -39 -5 -42 -15
-4 -9 -19 -15 -38 -15 -17 0 -44 -7 -59 -15 -26 -13 -31 -13 -50 0 -12 8 -35
15 -51 15 -41 0 -136 95 -136 135 0 16 -9 38 -20 50 l-21 22 58 56 c32 31 65
57 74 57 8 0 30 14 47 31 29 28 35 31 58 20 38 -17 189 -15 204 4 8 10 31 15
70 15 44 0 61 4 75 20 14 15 31 20 70 20 35 0 57 5 65 15 9 11 34 15 95 15 80
0 85 -1 125 -35z m-3131 -148 c47 -46 98 -88 114 -95 27 -11 27 -13 27 -105 0
-59 -4 -97 -12 -105 -7 -7 -42 -12 -87 -12 -59 0 -83 5 -106 20 -28 19 -48 20
-352 20 l-323 0 0 97 c0 78 4 105 22 142 40 86 20 81 305 81 240 0 256 1 280
20 14 11 30 20 36 20 5 0 48 -37 96 -83z"/>
<path d="M2759 4643 c-17 -15 -38 -41 -46 -58 -8 -16 -21 -41 -28 -55 -8 -14
-15 -37 -15 -51 0 -15 -7 -32 -15 -39 -12 -10 -15 -40 -15 -155 0 -115 3 -145
15 -155 8 -7 15 -21 15 -30 0 -17 98 -120 121 -128 26 -10 3 30 -46 78 -33 33
-55 63 -55 76 0 12 -7 24 -15 28 -12 4 -15 28 -15 124 0 94 3 122 15 132 8 7
15 29 15 50 0 22 8 48 20 63 11 14 20 32 20 39 0 21 47 58 74 58 13 0 29 -7
36 -15 14 -17 50 -20 50 -5 0 6 -4 10 -10 10 -5 0 -23 14 -40 30 -17 17 -35
30 -40 30 -4 0 -23 -12 -41 -27z"/>
<path d="M2105 4568 c-19 -18 -35 -41 -35 -51 0 -17 4 -16 31 7 17 14 38 26
48 26 32 0 96 -40 153 -97 48 -47 58 -63 58 -91 0 -18 9 -46 21 -61 19 -26 21
-39 18 -149 -3 -97 -7 -124 -21 -139 -10 -11 -18 -25 -18 -31 0 -6 -11 -24
-25 -40 -14 -17 -22 -33 -17 -36 12 -7 52 22 52 38 0 7 9 25 20 39 18 23 20
40 20 184 0 150 -1 159 -21 171 -17 11 -20 20 -16 48 5 31 1 39 -49 88 -30 30
-69 60 -86 67 -17 7 -41 23 -54 36 -30 30 -37 29 -79 -9z"/>
<path d="M2900 4584 c0 -9 102 -114 111 -114 21 0 5 29 -39 73 -42 41 -72 59
-72 41z"/>
<path d="M2037 4473 c-11 -10 -8 -43 3 -43 9 0 30 31 30 44 0 8 -25 7 -33 -1z"/>
<path d="M3020 4442 c0 -19 12 -42 22 -42 14 0 5 43 -9 48 -7 2 -13 -1 -13 -6z"/>
<path d="M2007 4403 c-4 -3 -7 -15 -7 -26 0 -16 3 -17 15 -7 8 7 15 19 15 26
0 15 -12 19 -23 7z"/>
<path d="M2107 4393 c-4 -3 -7 -14 -7 -23 0 -10 -7 -23 -15 -30 -8 -7 -15 -19
-15 -26 0 -19 26 -18 34 1 6 15 56 21 56 7 0 -18 -49 -54 -65 -48 -10 4 -19
-3 -27 -19 -10 -22 -8 -30 10 -55 12 -16 22 -35 22 -43 0 -7 11 -24 25 -37
l26 -24 26 27 c25 24 27 35 31 120 4 89 3 94 -23 125 -25 30 -62 42 -78 25z"/>
<path d="M2908 4379 c-19 -14 -28 -30 -28 -48 0 -38 10 -45 34 -22 12 10 30
21 41 23 12 2 20 11 20 22 0 10 -9 24 -20 32 -17 11 -24 10 -47 -7z"/>
<path d="M3056 4373 c-7 -8 12 -43 24 -43 15 0 12 37 -4 43 -8 3 -17 3 -20 0z"/>
<path d="M2954 4289 c-12 -13 -26 -18 -40 -15 -41 11 -49 -76 -11 -112 31 -29
37 -28 80 16 28 29 37 46 37 73 0 57 -32 76 -66 38z"/>
<path d="M2000 4117 c0 -15 2 -27 4 -27 2 0 11 -3 20 -6 23 -9 20 19 -4 41
-20 18 -20 17 -20 -8z"/>
<path d="M2035 4058 c-5 -13 11 -35 60 -83 62 -60 85 -76 85 -57 0 4 -31 41
-69 82 -56 61 -71 72 -76 58z"/>
<path d="M3050 3989 c-12 -23 -19 -43 -16 -46 3 -3 9 3 13 13 3 10 15 25 25
32 10 7 18 20 18 28 0 27 -20 14 -40 -27z"/>
<path d="M2360 3721 c0 -5 7 -14 15 -21 8 -7 15 -20 15 -30 0 -24 28 -46 41
-33 7 7 5 14 -6 23 -8 7 -15 20 -15 29 0 9 -5 22 -12 29 -14 14 -38 16 -38 3z"/>
<path d="M2826 3660 c-15 -5 -37 -17 -48 -27 -17 -15 -44 -19 -162 -24 l-141
-5 156 -2 c124 -2 159 1 168 12 7 8 23 17 36 20 14 4 25 13 25 21 0 8 -1 15
-2 14 -2 0 -16 -5 -32 -9z"/>
<path d="M3094 3511 c-10 -11 -41 -31 -69 -45 -41 -21 -63 -26 -126 -26 -56 0
-80 -4 -89 -15 -10 -12 -38 -15 -136 -15 -163 0 -172 -18 -12 -22 102 -3 129
-1 161 14 26 13 62 18 116 18 58 0 82 4 91 15 7 8 20 15 29 15 17 0 71 45 71
60 0 18 -17 18 -36 1z"/>
<path d="M2165 3480 c-7 -12 26 -29 43 -22 8 2 27 -5 43 -17 25 -19 42 -21
144 -21 63 0 115 4 115 9 0 5 -49 11 -109 13 -82 2 -113 7 -127 19 -21 18
-101 32 -109 19z"/>
<path d="M2170 3291 c0 -14 41 -41 63 -41 10 0 35 -9 57 -20 25 -13 59 -20 97
-20 35 -1 66 -6 77 -15 28 -21 389 -21 426 0 14 8 34 14 45 15 12 0 38 9 60
20 22 11 51 20 66 20 23 0 59 26 59 43 0 14 -28 6 -54 -14 -14 -11 -34 -18
-43 -15 -10 3 -31 -3 -48 -14 -16 -11 -44 -20 -62 -20 -20 0 -36 -7 -42 -17
-8 -16 -30 -18 -190 -21 -173 -3 -180 -2 -191 17 -9 18 -20 21 -84 21 -59 0
-76 4 -90 19 -11 12 -30 19 -51 18 -19 -1 -42 6 -53 16 -20 19 -42 22 -42 8z"/>
<path d="M2971 2188 c-20 -14 -48 -18 -122 -18 -68 0 -101 -4 -115 -15 -10 -8
-26 -15 -35 -15 -38 0 -40 -90 -3 -127 21 -21 32 -24 61 -20 20 4 43 13 53 22
12 11 38 15 96 15 51 0 85 5 92 13 7 6 45 14 85 17 l72 5 0 69 0 70 -79 0
c-58 1 -85 -3 -105 -16z"/>
<path d="M1381 3920 c-29 -15 -57 -34 -62 -41 -5 -8 -9 -41 -9 -75 0 -87 19
-106 108 -102 l67 3 3 92 c4 141 -19 168 -107 123z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 16 KiB

@ -3,8 +3,13 @@
"short_name": "",
"icons": [
{
"src": "/file/android-chrome-144x144.png",
"sizes": "144x144",
"src": "/file/android-chrome-192x192.png?v=xQ7mAqrA0R",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/file/android-chrome-512x512.png?v=xQ7mAqrA0R",
"sizes": "512x512",
"type": "image/png"
}
],

@ -24,10 +24,10 @@ window.addEventListener('DOMContentLoaded', (event) => {
const updateTitle = () => {
if (unread.length === 0) {
document.title = originalTitle;
changeFavicon('/favicon.ico');
// changeFavicon('/favicon.ico');
} else {
document.title = `(${unread.length}) ${originalTitle}`;
changeFavicon('/file/favicon2.ico');
// changeFavicon('/file/favicon2.ico');
}
}

@ -12,6 +12,7 @@ const config = require(__dirname+'/config.js')
, concat = require('gulp-concat')
, cleanCSS = require('gulp-clean-css')
, uglify = require('gulp-uglify-es').default
, realFavicon = require('gulp-real-favicon')
, del = require('del')
, pug = require('pug')
, gulppug = require('@fatchan/gulp-pug')
@ -42,6 +43,96 @@ const config = require(__dirname+'/config.js')
}
};
// File where the favicon markups are stored
var FAVICON_DATA_FILE = 'gulp/res/icons/faviconData.json';
// Generate the icons. This task takes a few seconds to complete.
// You should run it at least once to create the icons. Then,
// you should run it whenever RealFaviconGenerator updates its
// package (see the check-for-favicon-update task below).
gulp.task('generate-favicon', function(done) {
realFavicon.generateFavicon({
masterPicture: 'gulp/res/icons/master.png',
dest: 'gulp/res/icons',
iconsPath: '/file',
design: {
ios: {
pictureAspect: 'backgroundAndMargin',
backgroundColor: '#ffffff',
margin: '14%',
assets: {
ios6AndPriorIcons: false,
ios7AndLaterIcons: false,
precomposedIcons: false,
declareOnlyDefaultIcon: true
}
},
desktopBrowser: {
design: 'raw'
},
windows: {
pictureAspect: 'whiteSilhouette',
backgroundColor: '#da532c',
onConflict: 'override',
assets: {
windows80Ie10Tile: false,
windows10Ie11EdgeTiles: {
small: false,
medium: true,
big: false,
rectangle: false
}
}
},
androidChrome: {
pictureAspect: 'shadow',
themeColor: '#ffffff',
manifest: {
display: 'standalone',
orientation: 'notSet',
onConflict: 'override',
declared: true
},
assets: {
legacyIcon: false,
lowResolutionIcons: false
}
},
safariPinnedTab: {
pictureAspect: 'blackAndWhite',
threshold: 30,
themeColor: '#990000'
}
},
settings: {
scalingAlgorithm: 'Lanczos',
errorOnImageTooSmall: false,
readmeFile: false,
htmlCodeFile: true,
usePathAsIs: false
},
versioning: {
paramName: 'v',
paramValue: 'xQ7mAqrA0R'
},
markupFile: FAVICON_DATA_FILE
}, function() {
done();
});
});
// Check for updates on RealFaviconGenerator (think: Apple has just
// released a new Touch icon along with the latest version of iOS).
// Run this task from time to time. Ideally, make it part of your
// continuous integration system.
gulp.task('check-for-favicon-update', function(done) {
var currentVersion = JSON.parse(fs.readFileSync(FAVICON_DATA_FILE)).version;
realFavicon.checkForUpdates(currentVersion, function(err) {
if (err) {
throw err;
}
});
});
async function password() {
const { Accounts } = require(__dirname+'/db/');
@ -394,6 +485,7 @@ const build = gulp.parallel(gulp.series(scripts, css), images, icons, gulp.serie
//godhelpme
module.exports = {
'generate-favicon': gulp.series('generate-favicon', closeConnections),
html: gulp.series(init, deletehtml, custompages, closeConnections),
css: gulp.series(init, css, closeConnections),
images: gulp.series(images, closeConnections),

409
package-lock.json generated

@ -1,6 +1,6 @@
{
"name": "jschan",
"version": "0.1.2",
"version": "0.1.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -1062,6 +1062,15 @@
"tweetnacl": "^0.14.3"
}
},
"binary": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/binary/-/binary-0.3.0.tgz",
"integrity": "sha1-n2BVO8XOjDOG87VTz/R0Yq3sqnk=",
"requires": {
"buffers": "~0.1.1",
"chainsaw": "~0.1.0"
}
},
"binary-extensions": {
"version": "1.13.1",
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz",
@ -1176,6 +1185,11 @@
}
}
},
"boolbase": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
"integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24="
},
"brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
@ -1227,6 +1241,11 @@
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
"integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A=="
},
"buffers": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/buffers/-/buffers-0.1.1.tgz",
"integrity": "sha1-skV5w77U1tOWru5tmorn9Ugqt7s="
},
"bull": {
"version": "3.22.0",
"resolved": "https://registry.npmjs.org/bull/-/bull-3.22.0.tgz",
@ -1360,6 +1379,14 @@
"lazy-cache": "^1.0.3"
}
},
"chainsaw": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/chainsaw/-/chainsaw-0.1.0.tgz",
"integrity": "sha1-XqtQsor+WAdNDVgpE4iCi15fvJg=",
"requires": {
"traverse": ">=0.3.0 <0.4"
}
},
"chalk": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
@ -1382,6 +1409,80 @@
"resolved": "https://registry.npmjs.org/charm/-/charm-0.1.2.tgz",
"integrity": "sha1-BsIe7RobBq62dVPNxT4jJ0usIpY="
},
"cheerio": {
"version": "0.22.0",
"resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.22.0.tgz",
"integrity": "sha1-qbqoYKP5tZWmuBsahocxIe06Jp4=",
"requires": {
"css-select": "~1.2.0",
"dom-serializer": "~0.1.0",
"entities": "~1.1.1",
"htmlparser2": "^3.9.1",
"lodash.assignin": "^4.0.9",
"lodash.bind": "^4.1.4",
"lodash.defaults": "^4.0.1",
"lodash.filter": "^4.4.0",
"lodash.flatten": "^4.2.0",
"lodash.foreach": "^4.3.0",
"lodash.map": "^4.4.0",
"lodash.merge": "^4.4.0",
"lodash.pick": "^4.2.1",
"lodash.reduce": "^4.4.0",
"lodash.reject": "^4.4.0",
"lodash.some": "^4.4.0"
},
"dependencies": {
"dom-serializer": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz",
"integrity": "sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==",
"requires": {
"domelementtype": "^1.3.0",
"entities": "^1.1.1"
}
},
"domelementtype": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz",
"integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w=="
},
"domhandler": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz",
"integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==",
"requires": {
"domelementtype": "1"
}
},
"domutils": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz",
"integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==",
"requires": {
"dom-serializer": "0",
"domelementtype": "1"
}
},
"entities": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz",
"integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w=="
},
"htmlparser2": {
"version": "3.10.1",
"resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz",
"integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==",
"requires": {
"domelementtype": "^1.3.1",
"domhandler": "^2.3.0",
"domutils": "^1.5.1",
"entities": "^1.1.1",
"inherits": "^2.0.1",
"readable-stream": "^3.1.1"
}
}
}
},
"chokidar": {
"version": "2.1.8",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz",
@ -1768,6 +1869,54 @@
"uid-safe": "2.1.5"
}
},
"css-select": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz",
"integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=",
"requires": {
"boolbase": "~1.0.0",
"css-what": "2.1",
"domutils": "1.5.1",
"nth-check": "~1.0.1"
},
"dependencies": {
"dom-serializer": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz",
"integrity": "sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==",
"requires": {
"domelementtype": "^2.0.1",
"entities": "^2.0.0"
},
"dependencies": {
"domelementtype": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz",
"integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A=="
}
}
},
"domelementtype": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz",
"integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w=="
},
"domutils": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz",
"integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=",
"requires": {
"dom-serializer": "0",
"domelementtype": "1"
}
}
}
},
"css-what": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz",
"integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg=="
},
"csurf": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/csurf/-/csurf-1.11.0.tgz",
@ -3030,6 +3179,27 @@
"nan": "^2.12.1"
}
},
"fstream": {
"version": "1.0.12",
"resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz",
"integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==",
"requires": {
"graceful-fs": "^4.1.2",
"inherits": "~2.0.0",
"mkdirp": ">=0.5 0",
"rimraf": "2"
},
"dependencies": {
"rimraf": {
"version": "2.7.1",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz",
"integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==",
"requires": {
"glob": "^7.1.3"
}
}
}
},
"ftp": {
"version": "0.3.10",
"resolved": "https://registry.npmjs.org/ftp/-/ftp-0.3.10.tgz",
@ -3537,6 +3707,18 @@
}
}
},
"gulp-real-favicon": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/gulp-real-favicon/-/gulp-real-favicon-0.3.2.tgz",
"integrity": "sha512-DNCv4BWcdcY12KBlZDUHZ7MSUzM6PEOdhiyLe3ClDjuzToAQf+T30X0A2zny8Jfg4pxBIrALKzbVw5nizRrEbQ==",
"requires": {
"ansi-colors": "^1.1.0",
"fancy-log": "^1.3.2",
"plugin-error": "^1.0.1",
"rfg-api": "^0.5.0",
"through2": "^2.0.0"
}
},
"gulp-replace": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/gulp-replace/-/gulp-replace-1.0.0.tgz",
@ -4440,6 +4622,16 @@
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz",
"integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ=="
},
"lodash.assignin": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/lodash.assignin/-/lodash.assignin-4.2.0.tgz",
"integrity": "sha1-uo31+4QesKPoBEIysOJjqNxqKKI="
},
"lodash.bind": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/lodash.bind/-/lodash.bind-4.2.1.tgz",
"integrity": "sha1-euMBfpOWIqwxt9fX3LGzTbFpDTU="
},
"lodash.clone": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.clone/-/lodash.clone-4.5.0.tgz",
@ -4450,11 +4642,26 @@
"resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz",
"integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw="
},
"lodash.filter": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/lodash.filter/-/lodash.filter-4.6.0.tgz",
"integrity": "sha1-ZosdSYFgOuHMWm+nYBQ+SAtMSs4="
},
"lodash.flatten": {
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz",
"integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8="
},
"lodash.foreach": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.foreach/-/lodash.foreach-4.5.0.tgz",
"integrity": "sha1-Gmo16s5AEoDH8G3d7DUWWrJ+PlM="
},
"lodash.map": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz",
"integrity": "sha1-dx7Hg540c9nEzeKLGTlMNWL09tM="
},
"lodash.merge": {
"version": "4.6.2",
"resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
@ -4470,6 +4677,21 @@
"resolved": "https://registry.npmjs.org/lodash.pick/-/lodash.pick-4.4.0.tgz",
"integrity": "sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM="
},
"lodash.reduce": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/lodash.reduce/-/lodash.reduce-4.6.0.tgz",
"integrity": "sha1-8atrg5KZrUj3hKu/R2WW8DuRTTs="
},
"lodash.reject": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/lodash.reject/-/lodash.reject-4.6.0.tgz",
"integrity": "sha1-gNZJLcFHCGS79YNTO2UfQqn1JBU="
},
"lodash.some": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/lodash.some/-/lodash.some-4.6.0.tgz",
"integrity": "sha1-G7nzFO9ri63tE7VJFpsqlF62jk0="
},
"lodash.uniq": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz",
@ -4535,6 +4757,38 @@
"object-visit": "^1.0.0"
}
},
"match-stream": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/match-stream/-/match-stream-0.0.2.tgz",
"integrity": "sha1-mesFAJOzTf+t5CG5rAtBCpz6F88=",
"requires": {
"buffers": "~0.1.1",
"readable-stream": "~1.0.0"
},
"dependencies": {
"isarray": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8="
},
"readable-stream": {
"version": "1.0.34",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
"requires": {
"core-util-is": "~1.0.0",
"inherits": "~2.0.1",
"isarray": "0.0.1",
"string_decoder": "~0.10.x"
}
},
"string_decoder": {
"version": "0.10.31",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
"integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ="
}
}
},
"matchdep": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/matchdep/-/matchdep-2.0.0.tgz",
@ -4604,6 +4858,17 @@
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
"integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg=="
},
"metaparser": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/metaparser/-/metaparser-1.0.7.tgz",
"integrity": "sha1-wGmaZoageovOGsBrYulGLC5mqso=",
"requires": {
"async": "*",
"cheerio": "*",
"mkdirp": "*",
"underscore": "*"
}
},
"methods": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
@ -4729,7 +4994,6 @@
"version": "0.5.3",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.3.tgz",
"integrity": "sha512-P+2gwrFqx8lhew375MQHHeTlY8AuOJSrGf0R5ddkEndUkmwpgUob/vQuBD1V22/Cw1/lJr4x+EjllSezBThzBg==",
"optional": true,
"requires": {
"minimist": "^1.2.5"
}
@ -4917,6 +5181,42 @@
}
}
},
"node-unzip-2": {
"version": "0.2.8",
"resolved": "https://registry.npmjs.org/node-unzip-2/-/node-unzip-2-0.2.8.tgz",
"integrity": "sha512-fmJi73zTRW7RSo/1wyrKc2srKMwb3L6Ppke/7elzQ0QRt6sUjfiIcVsWdrqO5uEHAdvRKXjoySuo4HYe5BB0rw==",
"requires": {
"binary": "~0.3.0",
"fstream": "~1.0.12",
"match-stream": "~0.0.2",
"pullstream": "~0.4.0",
"readable-stream": "~1.0.0",
"setimmediate": "~1.0.1"
},
"dependencies": {
"isarray": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8="
},
"readable-stream": {
"version": "1.0.34",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
"requires": {
"core-util-is": "~1.0.0",
"inherits": "~2.0.1",
"isarray": "0.0.1",
"string_decoder": "~0.10.x"
}
},
"string_decoder": {
"version": "0.10.31",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
"integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ="
}
}
},
"nopt": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz",
@ -4996,6 +5296,14 @@
}
}
},
"nth-check": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz",
"integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==",
"requires": {
"boolbase": "~1.0.0"
}
},
"number-is-nan": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
@ -5187,6 +5495,11 @@
"lcid": "^1.0.0"
}
},
"over": {
"version": "0.0.5",
"resolved": "https://registry.npmjs.org/over/-/over-0.0.5.tgz",
"integrity": "sha1-8phS5w/X4l82DgE6jsRMgq7bVwg="
},
"p-finally": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
@ -5902,6 +6215,40 @@
"resolved": "https://registry.npmjs.org/pug-walk/-/pug-walk-2.0.0.tgz",
"integrity": "sha512-yYELe9Q5q9IQhuvqsZNwA5hfPkMJ8u92bQLIMcsMxf/VADjNtEYptU+inlufAFYcWdHlwNfZOEnOOQrZrcyJCQ=="
},
"pullstream": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/pullstream/-/pullstream-0.4.1.tgz",
"integrity": "sha1-1vs79a7Wl+gxFQ6xACwlo/iuExQ=",
"requires": {
"over": ">= 0.0.5 < 1",
"readable-stream": "~1.0.31",
"setimmediate": ">= 1.0.2 < 2",
"slice-stream": ">= 1.0.0 < 2"
},
"dependencies": {
"isarray": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8="
},
"readable-stream": {
"version": "1.0.34",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
"requires": {
"core-util-is": "~1.0.0",
"inherits": "~2.0.1",
"isarray": "0.0.1",
"string_decoder": "~0.10.x"
}
},
"string_decoder": {
"version": "0.10.31",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
"integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ="
}
}
},
"pump": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz",
@ -6349,6 +6696,18 @@
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
"integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw=="
},
"rfg-api": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/rfg-api/-/rfg-api-0.5.2.tgz",
"integrity": "sha512-2SaUwjAhRsIafTo4cBK9lvZm762IP2Z58JmtY0swxYcC6la2dRMR0i4ok9lIQ9Snz8hqh5RzG6y8ygrUmKHZ9A==",
"requires": {
"axios": "^0.21.1",
"fstream": "^1.0.2",
"metaparser": "^1.0.7",
"mkdirp": "^0.5.0",
"node-unzip-2": "^0.2.7"
}
},
"right-align": {
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz",
@ -6532,6 +6891,11 @@
}
}
},
"setimmediate": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
"integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU="
},
"setprototypeof": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",
@ -6580,6 +6944,37 @@
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
"integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q=="
},
"slice-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/slice-stream/-/slice-stream-1.0.0.tgz",
"integrity": "sha1-WzO9ZvATsaf4ZGCwPUY97DmtPqA=",
"requires": {
"readable-stream": "~1.0.31"
},
"dependencies": {
"isarray": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8="
},
"readable-stream": {
"version": "1.0.34",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
"requires": {
"core-util-is": "~1.0.0",
"inherits": "~2.0.1",
"isarray": "0.0.1",
"string_decoder": "~0.10.x"
}
},
"string_decoder": {
"version": "0.10.31",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
"integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ="
}
}
},
"smart-buffer": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.1.0.tgz",
@ -7236,6 +7631,11 @@
"punycode": "^2.1.1"
}
},
"traverse": {
"version": "0.3.9",
"resolved": "https://registry.npmjs.org/traverse/-/traverse-0.3.9.tgz",
"integrity": "sha1-cXuPIgzAu3tE5AUUwisui7xw2Lk="
},
"trim-newlines": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz",
@ -7380,6 +7780,11 @@
"resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz",
"integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo="
},
"underscore": {
"version": "1.13.0",
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.0.tgz",
"integrity": "sha512-sCs4H3pCytsb5K7i072FAEC9YlSYFIbosvM0tAKAlpSSUgD7yC1iXSEGdl5XrDKQ1YUB+p/HDzYrSG2H2Vl36g=="
},
"undertaker": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/undertaker/-/undertaker-1.3.0.tgz",

@ -26,6 +26,7 @@
"gulp-clean-css": "^4.3.0",
"gulp-concat": "^2.6.1",
"gulp-less": "^4.0.1",
"gulp-real-favicon": "^0.3.2",
"gulp-replace": "^1.0.0",
"gulp-uglify-es": "^2.0.0",
"highlight.js": "^10.7.2",

@ -1,8 +0,0 @@
link(rel='shortcut icon' href='/favicon.ico' type='image/x-icon')
link(rel='manifest' href='/site.webmanifest')
link(rel='apple-touch-icon' sizes='144x144' href='/file/apple-touch-icon.png')
link(rel='icon' type='image/png' sizes='32x32' href='/file/favicon-32x32.png')
link(rel='icon' type='image/png' sizes='16x16' href='/file/favicon-16x16.png')
link(rel='mask-icon' href='/file/safari-pinned-tab.svg' color='#5bbad5')
meta(name='msapplication-TileColor' content='#00aba9')
meta(name='theme-color' content='#ffffff')

@ -15,7 +15,7 @@ link#theme(rel='stylesheet' data-theme=theme href=`/css/themes/${theme}.css`)
if isBoard && board.settings.customCss
style#board-customcss #{board.settings.customCss}
link#codetheme(rel='stylesheet' data-theme=codeTheme href=`/css/codethemes/${codeTheme}.css`)
include ./favicon.pug
include ../../gulp/res/icons/html_code.html
script(src=`/js/all.js?v=${commit}&ct=${captchaType}`)
if captchaType === 'google'

Loading…
Cancel
Save