Don't ignore .well-known

This commit is contained in:
Miraty 2023-11-24 20:49:37 +01:00
parent cad0ff0c13
commit c8fa5fddbc
3 changed files with 3 additions and 6 deletions

View File

@ -38,7 +38,7 @@ The following files have special meaning:
`/end.inc.html`
: added just before `</body>`
Files starting with a dot (except for `.htaccess`) are ignored.
Files starting with a dot (except for `.htaccess` and `.well-known`) are ignored.
Files containing `draft` in their name (separated from other characters by `.`) are ignored.
@ -62,7 +62,7 @@ IDs are attributed to titles according to their content, therefore modifying a t
* Make sure modification timestamps of source files are preserved. For example, `cp --preserve=timestamps` must be used instead of just `cp` when backing up or migrating.
* Renaming/moving a page creates a new page and delete the older.
## External dependencies
## Dependencies
* PHP
* gzip

View File

@ -64,7 +64,7 @@ foreach($nodes as $node) {
$path_parts_src = pathinfo($src);
$path_parts_target = pathinfo($target);
if (strstr($src, '/.') !== false AND !str_ends_with($src, '/.htaccess')) // Skip hidden nodes (except for .htaccess)
if (preg_match('#/\.(?!htaccess|well-known)#', $src) !== 0) // Skip hidden nodes other than .htaccess and .well-known
continue;
if ($node_info->getType() !== 'file')
continue;

View File

@ -1,6 +1,3 @@
@light: ~"(prefers-color-scheme: light)";
@dark: ~"(prefers-color-scheme: dark)";
:root {
--dark-color: #141312;
--light-color: #FFFFFF;