From cc1965548e46049148f0fcfaa5bb8fe021e86b52 Mon Sep 17 00:00:00 2001 From: gautierchomel Date: Mon, 23 Sep 2024 23:07:55 +0200 Subject: [PATCH 1/3] Update .gitignore --- .gitignore | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 50c8d22b..92205faf 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,41 @@ resources/ node_modules/ .hugo_build.lock W/ -.vscode/ \ No newline at end of file +.vscode/ +epub-doc/fr/.eleventy.js +epub-doc/fr/.stylelintrc +epub-doc/fr/eleventypub-demo.epub +epub-doc/fr/extra/container.xml +epub-doc/fr/extra/mimetype +epub-doc/fr/gulpfile.js +epub-doc/fr/icons/* +epub-doc/fr/lib/* +epub-doc/fr/LICENSE +epub-doc/fr/package-lock.json +epub-doc/fr/package.json +epub-doc/fr/postbuild.js +epub-doc/fr/prebuild.js +epub-doc/fr/README.md +epub-doc/fr/rename.js +epub-doc/fr/src/_includes/* +epub-doc/fr/utils.js +epub-doc/fr/watch.json + +epub-doc/en/.eleventy.js +epub-doc/en/.stylelintrc +epub-doc/en/eleventypub-demo.epub +epub-doc/en/extra/container.xml +epub-doc/en/extra/mimetype +epub-doc/en/gulpfile.js +epub-doc/en/icons/* +epub-doc/en/lib/* +epub-doc/en/LICENSE +epub-doc/en/package-lock.json +epub-doc/en/package.json +epub-doc/en/postbuild.js +epub-doc/en/prebuild.js +epub-doc/en/README.md +epub-doc/en/rename.js +epub-doc/en/src/_includes/* +epub-doc/en/utils.js +epub-doc/en/watch.json \ No newline at end of file From f10026cccd1f0cd6884607e1a3d13173d7b7043d Mon Sep 17 00:00:00 2001 From: gautierchomel Date: Mon, 30 Sep 2024 16:38:52 +0200 Subject: [PATCH 2/3] personalised 404 --- layouts/404 copy.html | 8 -------- layouts/404.html | 19 +++++++++---------- 2 files changed, 9 insertions(+), 18 deletions(-) delete mode 100644 layouts/404 copy.html diff --git a/layouts/404 copy.html b/layouts/404 copy.html deleted file mode 100644 index f648800b..00000000 --- a/layouts/404 copy.html +++ /dev/null @@ -1,8 +0,0 @@ -{{ define "main"}} -
-
-

Not found

-

Oops! This page doesn't exist. Try going back to our home page.

-
-
-{{ end }} diff --git a/layouts/404.html b/layouts/404.html index 378b7367..5269355f 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,10 +1,9 @@ -{{ define "main"}} -
-
-

Not found

-

Oops! This page doesn't exist. Try going back to our home page.

- -

You can learn how to make a 404 page like this in Custom 404 Pages.

-
-
-{{ end }} +{{ define "main" }} +

404 Not Found

+

The page you requested cannot be found.

+

+ + Return to the home page + +

+{{ end }} \ No newline at end of file From 69e6e00098989da4ccbdf0e61260f9349b4f409b Mon Sep 17 00:00:00 2001 From: gautierchomel Date: Mon, 30 Sep 2024 16:46:36 +0200 Subject: [PATCH 3/3] fallback 404 at the root of the repo --- 404.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 404.html diff --git a/404.html b/404.html new file mode 100644 index 00000000..b9a0c7cd --- /dev/null +++ b/404.html @@ -0,0 +1,16 @@ + + + + + 404 Not Found - Thorium Reader + + + +

404 Not Found

+

The page you requested cannot be found.

+

+ + Return to the home page + +

+ \ No newline at end of file