From ab24951341f983d2d27620819dffd33b62109821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dufraisse?= Date: Sun, 26 Feb 2023 02:08:50 +0100 Subject: [PATCH] fix(Rewrite): first step to emulate it --- content/config.yml | 1 - content/index.php | 12 ++++++++++++ content/sub/index.php | 12 ++++++++++++ content/sub/page/index.php | 12 ++++++++++++ content/theme/index.php | 12 ++++++++++++ sites/default/index.php | 1 + 6 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 content/index.php create mode 100644 content/sub/index.php create mode 100644 content/sub/page/index.php create mode 100644 content/theme/index.php diff --git a/content/config.yml b/content/config.yml index 026d2b4..fae8986 100644 --- a/content/config.yml +++ b/content/config.yml @@ -5,7 +5,6 @@ site_title: Pico # The title of your website base_url: ~ # Pico will try to guess its base URL, if this fails, override it here; # Example: https://example.com/pico/ -rewrite_url: false # A boolean (true or false) indicating whether URL rewriting is forced debug: ~ # Set this to true to enable Pico's debug mode timezone: ~ # Your PHP installation might require you to manually specify a timezone locale: ~ # Your PHP installation might require you to manually specify a locale to use diff --git a/content/index.php b/content/index.php new file mode 100644 index 0000000..d2d77af --- /dev/null +++ b/content/index.php @@ -0,0 +1,12 @@ +