update to kirby 3
3
.gitignore
vendored
Normal file → Executable file
|
@ -11,4 +11,5 @@ thumbs
|
||||||
assets/avatars
|
assets/avatars
|
||||||
wiki
|
wiki
|
||||||
piwik
|
piwik
|
||||||
|
media
|
||||||
|
site/sessions
|
6
.gitmodules
vendored
Normal file → Executable file
|
@ -1,9 +1,3 @@
|
||||||
[submodule "site/fields/markdown"]
|
|
||||||
path = site/fields/markdown
|
|
||||||
url = https://github.com/JonasDoebertin/kirby-visual-markdown.git
|
|
||||||
[submodule "kirby"]
|
[submodule "kirby"]
|
||||||
path = kirby
|
path = kirby
|
||||||
url = https://github.com/getkirby/kirby.git
|
url = https://github.com/getkirby/kirby.git
|
||||||
[submodule "panel"]
|
|
||||||
path = panel
|
|
||||||
url = https://github.com/getkirby/panel.git
|
|
||||||
|
|
83
.htaccess
Normal file → Executable file
|
@ -2,49 +2,53 @@
|
||||||
|
|
||||||
# rewrite rules
|
# rewrite rules
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
# enable awesome urls. i.e.:
|
|
||||||
# http://yourdomain.com/about-us/team
|
|
||||||
RewriteEngine on
|
|
||||||
|
|
||||||
RewriteCond %{HTTP_HOST} !^sterzy\.com$
|
# enable awesome urls. i.e.:
|
||||||
RewriteRule (.*) https://sterzy.com/$1 [L,R=301]
|
# http://yourdomain.com/about-us/team
|
||||||
|
RewriteEngine on
|
||||||
|
|
||||||
RewriteCond %{HTTPS} !=on
|
RewriteCond %{HTTP_HOST} !^sterzy\.com$
|
||||||
|
RewriteRule (.*) https://sterzy.com/$1 [L,R=301]
|
||||||
|
|
||||||
# redirect all trafic to https
|
RewriteCond %{HTTPS} !=on
|
||||||
RewriteCond %{ENV:HTTPS} !=on
|
|
||||||
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
|
|
||||||
|
|
||||||
Redirect 301 /.well-known/carddav /owncloud/remote.php/carddav
|
# redirect all trafic to https
|
||||||
Redirect 301 /.well-known/caldav /owncloud/remote.php/caldav
|
RewriteCond %{ENV:HTTPS} !=on
|
||||||
|
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
|
||||||
|
|
||||||
# make sure to set the RewriteBase correctly
|
Redirect 301 /.well-known/carddav /owncloud/remote.php/carddav
|
||||||
# if you are running the site in a subfolder.
|
Redirect 301 /.well-known/caldav /owncloud/remote.php/caldav
|
||||||
# Otherwise links or the entire site will break.
|
|
||||||
#
|
|
||||||
# If your homepage is http://yourdomain.com/mysite
|
|
||||||
# Set the RewriteBase to:
|
|
||||||
#
|
|
||||||
# RewriteBase /mysite
|
|
||||||
|
|
||||||
# block text files in the content folder from being accessed directly
|
# block files and folders beginning with a dot, such as .git
|
||||||
RewriteRule ^content/(.*)\.(txt|md|mdown)$ index.php [L]
|
# except for the .well-known folder, which is used for Let's Encrypt and security.txt
|
||||||
|
RewriteRule (^|/)\.(?!well-known\/) index.php [L]
|
||||||
|
|
||||||
# block all files in the site folder from being accessed directly
|
# make sure to set the RewriteBase correctly
|
||||||
RewriteRule ^site/(.*) index.php [L]
|
# if you are running the site in a subfolder.
|
||||||
|
# Otherwise links or the entire site will break.
|
||||||
|
#
|
||||||
|
# If your homepage is http://yourdomain.com/mysite
|
||||||
|
# Set the RewriteBase to:
|
||||||
|
#
|
||||||
|
# RewriteBase /mysite
|
||||||
|
|
||||||
# block all files in the kirby folder from being accessed directly
|
# block text files in the content folder from being accessed directly
|
||||||
RewriteRule ^kirby/(.*) index.php [L]
|
RewriteRule ^content/(.*)\.(txt|md|mdown)$ index.php [L]
|
||||||
|
|
||||||
# make panel links work
|
# block all files in the site folder from being accessed directly
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteRule ^site/(.*) index.php [L]
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
|
||||||
RewriteRule ^panel/(.*) panel/index.php [L]
|
# Enable authentication header
|
||||||
|
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
|
||||||
|
|
||||||
|
# block all files in the kirby folder from being accessed directly
|
||||||
|
RewriteRule ^kirby/(.*) index.php [L]
|
||||||
|
|
||||||
|
# make site links work
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteRule ^(.*) index.php [L]
|
||||||
|
|
||||||
# make site links work
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
|
||||||
RewriteRule ^(.*) index.php [L]
|
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
# Additional recommended values
|
# Additional recommended values
|
||||||
|
@ -63,3 +67,16 @@ ExpiresActive On
|
||||||
ExpiresByType application/x-javascript M604800
|
ExpiresByType application/x-javascript M604800
|
||||||
ExpiresByType text/css M604800
|
ExpiresByType text/css M604800
|
||||||
ExpiresByType text/x-javascript M604800
|
ExpiresByType text/x-javascript M604800
|
||||||
|
|
||||||
|
# compress text file responses
|
||||||
|
<IfModule mod_deflate.c>
|
||||||
|
|
||||||
|
AddOutputFilterByType DEFLATE text/plain
|
||||||
|
AddOutputFilterByType DEFLATE text/html
|
||||||
|
AddOutputFilterByType DEFLATE text/css
|
||||||
|
AddOutputFilterByType DEFLATE text/javascript
|
||||||
|
AddOutputFilterByType DEFLATE application/json
|
||||||
|
AddOutputFilterByType DEFLATE application/javascript
|
||||||
|
AddOutputFilterByType DEFLATE application/x-javascript
|
||||||
|
|
||||||
|
</IfModule>
|
0
LICENSE
Normal file → Executable file
4
README.md
Normal file → Executable file
|
@ -6,6 +6,6 @@ The rest of the code is under this license: [License](https://svs.ankaa.uberspac
|
||||||
# Installing
|
# Installing
|
||||||
```
|
```
|
||||||
$ git clone --recursive https://svs.ankaa.uberspace.de/sterzy/sterzycom.git
|
$ git clone --recursive https://svs.ankaa.uberspace.de/sterzy/sterzycom.git
|
||||||
$ mkdir site/config site/accounts thumbs content assets/avatars
|
$ mkdir site/config media content
|
||||||
```
|
```
|
||||||
Then [add your license](http://getkirby.com/docs/installation/license-code) and visit yoursite.com/panel.
|
Then visit yoursite.com/panel.
|
||||||
|
|
Before Width: | Height: | Size: 33 KiB |
0
assets/css/main.css
Normal file → Executable file
0
assets/css/mobile.css
Normal file → Executable file
0
assets/css/prism.css
Normal file → Executable file
0
assets/fonts/Montserrat-Regular.ttf
Normal file → Executable file
0
assets/img/bg.jpg
Normal file → Executable file
Before Width: | Height: | Size: 473 KiB After Width: | Height: | Size: 473 KiB |
0
assets/img/icons/LogoPerfektdursichtigPNG.png
Normal file → Executable file
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
0
assets/img/icons/apple-touch-icon-114x114-precomposed.png
Normal file → Executable file
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
0
assets/img/icons/favicon.ico
Normal file → Executable file
Before Width: | Height: | Size: 318 B After Width: | Height: | Size: 318 B |
0
assets/img/icons/favicon.png
Normal file → Executable file
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 7.9 KiB |
0
assets/img/icons/logo.svg
Normal file → Executable file
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
0
assets/img/icons/logo100.png
Normal file → Executable file
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 9.2 KiB |
0
assets/img/icons/logo200.png
Normal file → Executable file
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
0
assets/img/notes.jpg
Normal file → Executable file
Before Width: | Height: | Size: 298 KiB After Width: | Height: | Size: 298 KiB |
0
assets/img/projects.png
Normal file → Executable file
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 107 KiB |