minify CSS
This commit is contained in:
parent
b23ea7474c
commit
c86d36bea1
@ -7,6 +7,7 @@ set -o errexit
|
||||
rm -rf static_tmp
|
||||
cp -a static static_tmp
|
||||
json_reformat -m < static_tmp/manifest.webmanifest | sponge static_tmp/manifest.webmanifest
|
||||
find static_tmp -name '*.css' -exec csso {} -o {} \;
|
||||
find static_tmp -name '*.js' -exec terser --module -cmo {} {} \;
|
||||
find static_tmp -regex '\(.+/LICENSE\|.+\.\(css\|html\|ico\|js\|svg\|txt\|webmanifest\|xml\)\)' -exec zopfli {} \; -exec touch -r {} {}.gz \;
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
<meta property="og:site_name" content="GrapheneOS"/>
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
|
||||
<link rel="mask-icon" href="/mask-icon.svg" color="#1a1a1a"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?16"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?17"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/build"/>
|
||||
<script type="module" src="/redirect.js?6"></script>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<meta property="og:site_name" content="GrapheneOS"/>
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
|
||||
<link rel="mask-icon" href="/mask-icon.svg" color="#1a1a1a"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?16"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?17"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/contact"/>
|
||||
</head>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<meta property="og:site_name" content="GrapheneOS"/>
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
|
||||
<link rel="mask-icon" href="/mask-icon.svg" color="#1a1a1a"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?16"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?17"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/donate"/>
|
||||
</head>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<meta property="og:site_name" content="GrapheneOS"/>
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
|
||||
<link rel="mask-icon" href="/mask-icon.svg" color="#1a1a1a"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?16"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?17"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/faq"/>
|
||||
<script type="module" src="/redirect.js?6"></script>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<meta property="og:site_name" content="GrapheneOS"/>
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
|
||||
<link rel="mask-icon" href="/mask-icon.svg" color="#1a1a1a"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?16"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?17"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/"/>
|
||||
<script type="module" src="/redirect.js?6"></script>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<meta property="og:site_name" content="GrapheneOS"/>
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
|
||||
<link rel="mask-icon" href="/mask-icon.svg" color="#1a1a1a"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?16"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?17"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/install"/>
|
||||
</head>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<meta property="og:site_name" content="GrapheneOS"/>
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
|
||||
<link rel="mask-icon" href="/mask-icon.svg" color="#1a1a1a"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?16"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?17"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/pdfviewer-privacy-policy"/>
|
||||
</head>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<meta property="og:site_name" content="GrapheneOS"/>
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
|
||||
<link rel="mask-icon" href="/mask-icon.svg" color="#1a1a1a"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?16"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?17"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/releases"/>
|
||||
<script type="module" src="/releases.js?12"></script>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<meta property="og:site_name" content="GrapheneOS"/>
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
|
||||
<link rel="mask-icon" href="/mask-icon.svg" color="#1a1a1a"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?16"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?17"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/source"/>
|
||||
</head>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<meta property="og:site_name" content="GrapheneOS"/>
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
|
||||
<link rel="mask-icon" href="/mask-icon.svg" color="#1a1a1a"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?16"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?17"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/usage"/>
|
||||
<script type="module" src="/redirect.js?6"></script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user