mirror of
https://github.com/kaboomserver/website.git
synced 2024-12-22 07:45:00 +00:00
Latest changes
This commit is contained in:
parent
8a60ab8958
commit
e5ca0f21b2
13 changed files with 112 additions and 31 deletions
84
.htaccess
Normal file
84
.htaccess
Normal file
|
@ -0,0 +1,84 @@
|
||||||
|
RewriteBase /
|
||||||
|
RewriteEngine On
|
||||||
|
|
||||||
|
AddDefaultCharset utf-8
|
||||||
|
AddCharset UTF-8 .css .js .webmanifest
|
||||||
|
FileETag MTime Size
|
||||||
|
ServerSignature Off
|
||||||
|
SetEnvIf Host ^ suppress-error-charset
|
||||||
|
|
||||||
|
AddType image/x-icon .ico
|
||||||
|
AddType application/manifest+json .webmanifest
|
||||||
|
|
||||||
|
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
|
||||||
|
RewriteRule ^ https://%1%{REQUEST_URI} [R=301,L]
|
||||||
|
RewriteCond %{ENV:HTTPS} !=on
|
||||||
|
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
|
||||||
|
RewriteCond %{HTTP_HOST} ^flame.ga$
|
||||||
|
RewriteRule ^ https://kaboom.pw/$1 [R=301,L]
|
||||||
|
RewriteCond %{HTTP_HOST} ^www.flame.ga$
|
||||||
|
RewriteRule ^ https://kaboom.pw/$1 [R=301,L]
|
||||||
|
|
||||||
|
ErrorDocument 404 https://kaboom.pw/
|
||||||
|
RewriteCond %{REQUEST_FILENAME} -d
|
||||||
|
RewriteRule . - [R=404]
|
||||||
|
|
||||||
|
<FilesMatch ".(htm|html)$">
|
||||||
|
Header set Content-Security-Policy "default-src 'none'; font-src data:; img-src 'self'; manifest-src 'self'; style-src 'self'; upgrade-insecure-requests"
|
||||||
|
Header set X-Frame-Options "DENY"
|
||||||
|
Header set X-Xss-Protection "1; mode=block"
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
|
Header set Referrer-Policy "no-referrer"
|
||||||
|
Header set Strict-Transport-Security "max-age=63072000; includeSubdomains; preload"
|
||||||
|
Header set Vary "Accept-Encoding"
|
||||||
|
Header set X-Content-Type-Options "nosniff"
|
||||||
|
Header unset Accept-Ranges
|
||||||
|
Header unset Last-Modified
|
||||||
|
|
||||||
|
RewriteCond %{HTTP:Accept-Encoding} br
|
||||||
|
RewriteCond %{REQUEST_FILENAME}.br -f
|
||||||
|
RewriteRule ^(.*)$ $1.br [L]
|
||||||
|
|
||||||
|
RewriteCond %{HTTP:Accept-Encoding} gzip
|
||||||
|
RewriteCond %{REQUEST_FILENAME}.gz -f
|
||||||
|
RewriteRule ^(.*)$ $1.gz [L]
|
||||||
|
|
||||||
|
AddEncoding br .br
|
||||||
|
AddEncoding gzip .gz
|
||||||
|
|
||||||
|
<FilesMatch (.css.br|.css.gz)>
|
||||||
|
ForceType "text/css; charset=utf-8"
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
|
<FilesMatch (.ico.br|.ico.gz)>
|
||||||
|
ForceType image/x-icon
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
|
<FilesMatch (.html.br|.html.gz)>
|
||||||
|
ForceType "text/html; charset=utf-8"
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
|
<FilesMatch (.js.br|.js.gz)>
|
||||||
|
ForceType "text/javascript; charset=utf-8"
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
|
<FilesMatch (.png.br|.png.gz)>
|
||||||
|
ForceType "image/png; charset=utf-8"
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
|
<FilesMatch (.svg.br|.svg.gz)>
|
||||||
|
ForceType "image/svg+xml; charset=utf-8"
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
|
<FilesMatch (.txt.br|.txt.gz)>
|
||||||
|
ForceType "text/plain; charset=utf-8"
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
|
<FilesMatch (.webmanifest.br|.webmanifest.gz)>
|
||||||
|
ForceType "application/manifest+json; charset=utf-8"
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
|
<FilesMatch (.xml.br|.xml.gz)>
|
||||||
|
ForceType "text/xml; charset=utf-8"
|
||||||
|
</FilesMatch>
|
6
404.md
6
404.md
|
@ -1,6 +0,0 @@
|
||||||
---
|
|
||||||
layout: default
|
|
||||||
title: Oops
|
|
||||||
---
|
|
||||||
# {{ page.title }}
|
|
||||||
This page does not exist. You may return to the [home page](/).
|
|
|
@ -7,8 +7,5 @@ exclude:
|
||||||
- Gemfile
|
- Gemfile
|
||||||
- LICENSE
|
- LICENSE
|
||||||
|
|
||||||
kramdown:
|
|
||||||
entity_output: :as_input
|
|
||||||
|
|
||||||
sass:
|
sass:
|
||||||
style: :compressed
|
style: :compressed
|
||||||
|
|
|
@ -16,14 +16,12 @@ layout: minify
|
||||||
</title>
|
</title>
|
||||||
<meta name="description" content="{{ site.description }}">
|
<meta name="description" content="{{ site.description }}">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="canonical" href="{{ site.url }}{{ page.url | replace:'/index.html','/' }}">
|
|
||||||
<link rel="stylesheet" href="/style.css">
|
<link rel="stylesheet" href="/style.css">
|
||||||
<link rel="apple-touch-icon" href="/icons/apple-touch-icon.png">
|
<link rel="manifest" href="/site.webmanifest">
|
||||||
<link rel="manifest" href="/icons/manifest.webmanifest">
|
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#00588e">
|
||||||
<link rel="mask-icon" href="/icons/safari-pinned-tab.svg" color="#00588e">
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main id="main">
|
<main>
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
13
browserconfig.xml
Normal file
13
browserconfig.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
layout: minify
|
||||||
|
---
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<browserconfig>
|
||||||
|
<msapplication>
|
||||||
|
<tile>
|
||||||
|
<square150x150logo src="/mstile-150x150.png" />
|
||||||
|
<tilecolor>#555555</tilecolor>
|
||||||
|
</tile>
|
||||||
|
</msapplication>
|
||||||
|
</browserconfig>
|
||||||
|
|
21
build.sh
21
build.sh
|
@ -1,14 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd $HOME/build-websites/kaboom-website/
|
cd $HOME/build/kaboom-website/
|
||||||
rm Gemfile.lock
|
rm Gemfile.lock
|
||||||
#bundle install
|
bundle install
|
||||||
jekyll build --destination $HOME/html/kaboom.pw/
|
if bundle exec jekyll build --destination $HOME/html/kaboom.pw/; then
|
||||||
#if jekyll build --destination $HOME/html/kaboom.pw/; then
|
|
||||||
cd $HOME/html/kaboom.pw/
|
cd $HOME/html/kaboom.pw/
|
||||||
#rm -rf *.br
|
rm -rf *.br
|
||||||
#rm -rf *.gz
|
rm -rf *.gz
|
||||||
#for file in `find . -type f -name '*'`; do
|
for file in `find . -type f -name '*'`; do
|
||||||
# $HOME/build-websites/zopfli $file
|
$HOME/build/zopfli $file
|
||||||
# $HOME/build-websites/brotli $file
|
$HOME/build/brotli $file
|
||||||
#done
|
done
|
||||||
#fi
|
fi
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
---
|
|
||||||
layout: minify
|
|
||||||
---
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
|
||||||
<path d="M440 0c-6.6 0-12 5.4-12 12v24c0 6.6 5.4 12 12 12s12-5.4 12-12V12c0-6.6-5.4-12-12-12zm-42.4 17.475c-3.075 0-6.15 1.175-8.5 3.525-4.7 4.7-4.7 12.3 0 17l17 17c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17a11.983 11.983 0 0 0-8.5-3.525zm84.8 0c-3.075 0-6.15 1.175-8.5 3.525l-17 17c-4.7 4.7-4.7 12.3 0 17 4.8 4.7 12.4 4.7 17 0l17-17c4.7-4.7 4.7-12.3 0-17a11.983 11.983 0 0 0-8.5-3.525zM476 60c-6.6 0-12 5.4-12 12s5.4 12 12 12h24c6.6 0 12-5.4 12-12s-5.4-12-12-12h-24zm-52.6 11.5l-52 52L344.9 97c-9.3-9.4-24.5-9.4-33.9 0l-17.4 17.4C267.5 102.6 238.5 96 208 96 93.1 96 0 189.1 0 304s93.1 207.9 208 207.9 208-93.1 208-208c0-30.5-6.6-59.5-18.4-85.6l17.4-17.4c9.4-9.3 9.4-24.5 0-33.9l-26.5-26.5 52-52-17.1-17zm42 13.975c-3.075 0-6.15 1.175-8.5 3.525-4.7 4.7-4.7 12.3 0 17l17 17c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17a11.983 11.983 0 0 0-8.5-3.525zm-295.318 55.082c7.846-.036 14.148 5.141 14.148 13.824 0 10.686-10.27 12.9-20.107 17.072-47.39 20.107-71.15 44.99-85.133 86.553h-.002c-3.407 10.128-7.607 20.789-18.293 20.789s-15.981-10.587-12.804-20.79c17.83-57.248 53.977-97.474 116.572-116.57 1.916-.584 3.808-.87 5.619-.878z"/>
|
|
||||||
</svg>
|
|
|
@ -38,3 +38,4 @@ layout: default
|
||||||
</span>
|
</span>
|
||||||
Feel free to download the schematics and worlds of the Kaboom.pw server. Worlds reset once a week.
|
Feel free to download the schematics and worlds of the Kaboom.pw server. Worlds reset once a week.
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
BIN
mstile-150x150.png
Normal file
BIN
mstile-150x150.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 666 B |
1
safari-pinned-tab.svg
Normal file
1
safari-pinned-tab.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M440 0c-6.6 0-12 5.4-12 12v24c0 6.6 5.4 12 12 12s12-5.4 12-12V12c0-6.6-5.4-12-12-12zm-42.4 17.475c-3.075 0-6.15 1.175-8.5 3.525-4.7 4.7-4.7 12.3 0 17l17 17c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17a11.983 11.983 0 0 0-8.5-3.525zm84.8 0c-3.075 0-6.15 1.175-8.5 3.525l-17 17c-4.7 4.7-4.7 12.3 0 17 4.8 4.7 12.4 4.7 17 0l17-17c4.7-4.7 4.7-12.3 0-17a11.983 11.983 0 0 0-8.5-3.525zM476 60c-6.6 0-12 5.4-12 12s5.4 12 12 12h24c6.6 0 12-5.4 12-12s-5.4-12-12-12h-24zm-52.6 11.5l-52 52L344.9 97c-9.3-9.4-24.5-9.4-33.9 0l-17.4 17.4C267.5 102.6 238.5 96 208 96 93.1 96 0 189.1 0 304s93.1 207.9 208 207.9 208-93.1 208-208c0-30.5-6.6-59.5-18.4-85.6l17.4-17.4c9.4-9.3 9.4-24.5 0-33.9l-26.5-26.5 52-52-17.1-17zm42 13.975c-3.075 0-6.15 1.175-8.5 3.525-4.7 4.7-4.7 12.3 0 17l17 17c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17a11.983 11.983 0 0 0-8.5-3.525zm-295.318 55.082c7.846-.036 14.148 5.141 14.148 13.824 0 10.686-10.27 12.9-20.107 17.072-47.39 20.107-71.15 44.99-85.133 86.553h-.002c-3.407 10.128-7.607 20.789-18.293 20.789s-15.981-10.587-12.804-20.79c17.83-57.248 53.977-97.474 116.572-116.57 1.916-.584 3.808-.87 5.619-.878z"/></svg>
|
After Width: | Height: | Size: 1.2 KiB |
Loading…
Reference in a new issue