From: Gabriel Dunne Date: Fri, 16 Jun 2023 23:12:40 +0000 (-0700) Subject: Pushing X-Git-Url: https://git.quilime.com/?a=commitdiff_plain;h=a8b71ece30386770ed085a15703112187d704316;p=quilime.com.git Pushing --- diff --git a/.htaccess b/.htaccess index 92b5485..b4fb8cf 100644 --- a/.htaccess +++ b/.htaccess @@ -1,5 +1,6 @@ -Options +FollowSymLinks +Options +FollowSymLinks -MultiViews RewriteEngine On +RewriteBase / RewriteCond %{HTTPS} !=on RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] @@ -7,4 +8,8 @@ Header always set Content-Security-Policy "upgrade-insecure-requests;" RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule (.*) index.php?p=$1 [L] +RewriteCond %{REQUEST_FILENAME}\.html -f +RewriteRule ^(.*)$ $1.html [L] + +RewriteCond %{THE_REQUEST} ^(?:GET|POST)\ /.*\.html\ HTTP.*$ [NC] +RewriteRule ^(.*)\.html$ $1 [R=301,L] diff --git a/_config.yml b/_config.yml index 3a7c6c3..0fadc28 100644 --- a/_config.yml +++ b/_config.yml @@ -2,7 +2,7 @@ title: quilime.com baseurl: "" url: "https://quilime.com" excerpt_separator: "" -permalink: /:categories/:title:output_ext +permalink: /:title:output_ext plugins: - jekyll-feed - jekyll-paginate @@ -26,3 +26,5 @@ exclude: - vendor/gems/ - vendor/ruby/ - serve + - publish + diff --git a/_layouts/index.html b/_layouts/index.html index 9129feb..a2a3a52 100644 --- a/_layouts/index.html +++ b/_layouts/index.html @@ -19,8 +19,8 @@