summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-04-17 16:50:09 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2022-04-17 16:50:09 +0200
commitfd0db9f4221a6ea95595431a3b697edd1ca9f2a5 (patch)
treef1a0edfaf90e483bbe434ec873f08b1b51748199
parentupdate again (diff)
downloadgitjoe-www-fd0db9f4221a6ea95595431a3b697edd1ca9f2a5.tar.gz
gitjoe-www-fd0db9f4221a6ea95595431a3b697edd1ca9f2a5.tar.bz2
gitjoe-www-fd0db9f4221a6ea95595431a3b697edd1ca9f2a5.tar.xz
gitjoe-www-fd0db9f4221a6ea95595431a3b697edd1ca9f2a5.tar.zst
gitjoe-www-fd0db9f4221a6ea95595431a3b697edd1ca9f2a5.zip
No more php
-rw-r--r--css/index.php1
-rw-r--r--inc/classic-contents.html53
-rw-r--r--inc/classic-contents.inc.php84
-rw-r--r--index.html75
-rw-r--r--index.php50
-rw-r--r--license.html89
-rw-r--r--license.php39
7 files changed, 217 insertions, 174 deletions
diff --git a/css/index.php b/css/index.php
deleted file mode 100644
index d29ead0..0000000
--- a/css/index.php
+++ /dev/null
@@ -1 +0,0 @@
-<?php header("Location: ../"); ?>
diff --git a/inc/classic-contents.html b/inc/classic-contents.html
new file mode 100644
index 0000000..fcf0984
--- /dev/null
+++ b/inc/classic-contents.html
@@ -0,0 +1,53 @@
+<!--
+ * ========================
+ * ===== ===============
+ * ====== ================
+ * ====== ================
+ * ====== ==== ==== ==
+ * ====== === == = =
+ * ====== === = == =
+ * = === === = == ====
+ * = === === = == = =
+ * == ===== ==== ==
+ * ========================
+ *
+ * gitjoe: inc/classic-contents.html
+ * Sun Apr 17 16:11:26 CEST 2022
+ * Joe
+-->
+
+<!-- HEADER -->
+<html>
+ <head>
+ <title>GitJoe -</title>
+ <link rel="stylesheet" type="text/css" href="css/site.css">
+ <meta charset="UTF-8">
+ </head>
+ <body>
+ <div class="fullpage">
+ <header>
+ <h1><a href="index.html">GitJoe -</a></h1>
+ </header>
+
+<!-- SIDEBAR -->
+ <div class="sidebar">
+ <ul>
+ <li><a href="jozan/">jozan</a></li>
+ <li><a href="salad/">salad</a></li>
+ <li><a href="salad-joe/">salad-joe</a></li>
+ <hr>
+ <li><a href="https://jozanofastora.xyz/">Joe's dev blog</a></li>
+ </ul>
+ </div>
+
+<!-- FOOTER -->
+ <footer>
+ <p>
+ Copyright &copy; 2020-2022, Joe -
+ see <a href="license.html">LICENSE</a> -
+ this website does not use cookies or php or js
+ </p>
+ </footer>
+ </div>
+ </body>
+</html>
diff --git a/inc/classic-contents.inc.php b/inc/classic-contents.inc.php
deleted file mode 100644
index 7ba8015..0000000
--- a/inc/classic-contents.inc.php
+++ /dev/null
@@ -1,84 +0,0 @@
-<!-- ----------------------------------------------------------------------- -->
-<!-- -->
-<!-- File : classic-contents.inc.php /_________/ -->
-<!-- Authors : Joe | -->
-<!-- Date : 06/2020 | -->
-<!-- Info : Functions for contents on every page | -->
-<!-- / | -->
-<!-- \ / -->
-<!-- \_____/ -->
-<!-- -->
-<!-- ----------------------------------------------------------------------- -->
-
-<?php
-function
-jo_head($title) {
- global $prefix;
-?>
- <html>
- <head>
- <title>GitJoe - Joe's git - <?php echo "$title"; ?></title>
- <link rel="stylesheet" type="text/css" href="<?php echo $prefix; ?>css/site.css">
- <meta charset="UTF-8">
- </head>
- <body>
- <div class="fullpage">
- <header>
- <h1><a href="<?php echo $prefix; ?>index.php">GitJoe - Joe's git - <?php echo "$title"; ?></a></h1>
- </header>
-<?php
-}
-
-function
-jo_bloat_head($title) {
- global $prefix;
-?>
- <html>
- <head>
- <title> GitJoe - Joe's git - <?php echo "$title"; ?></title>
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
- <link rel="stylesheet" type="text/css" href="<?php echo $prefix; ?>css/site.css">
- <meta charset="UTF-8">
- </head>
- <body>
- <div class="fullpage">
- <header>
- <h1><a href="<?php echo $prefix; ?>index.php">GitJoe - Joe's git - <?php echo "$title"; ?></a></h1>
- </header>
-<?php
-}
-
-function
-jo_sidebar() {
- global $prefix;
-?>
-
- <div class="sidebar">
- <ul>
- <li><a href="<?php echo $prefix; ?>jozan/">jozan</a></li>
- <li><a href="<?php echo $prefix; ?>salad/">salad</a></li>
- <li><a href="<?php echo $prefix; ?>salad-joe/">salad-joe</a></li>
- <hr>
- <li><a href="https://jozanofastora.xyz/">Joe's dev blog</a></li>
- </ul>
- </div>
-<?php
-}
-
-function
-jo_footer() {
- global $prefix;
-?>
- <footer>
- <p>
- Copyright &copy; 2020-2022, Joe -
- see <a href="<?php echo $prefix; ?>license.php">LICENSE</a> -
- this website does not use cookies
- </p>
- </footer>
- </div>
- </body>
- </html>
-<?php
-}
-?>
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..44a4d4a
--- /dev/null
+++ b/index.html
@@ -0,0 +1,75 @@
+<!--
+ * ========================
+ * ===== ===============
+ * ====== ================
+ * ====== ================
+ * ====== ==== ==== ==
+ * ====== === == = =
+ * ====== === = == =
+ * = === === = == ====
+ * = === === = == = =
+ * == ===== ==== ==
+ * ========================
+ *
+ * gitjoe: index.html
+ * Sun Apr 17 16:47:11 CEST 2022
+ * Joe
+-->
+
+<html>
+ <head>
+ <title>GitJoe - Joe's git - home</title>
+ <link rel="stylesheet" type="text/css" href="css/site.css">
+ <meta charset="UTF-8">
+ </head>
+ <body>
+ <div class="fullpage">
+ <header>
+ <h1><a href="index.html">GitJoe - Joe's git -</a></h1>
+ </header>
+ <div class="sidebar">
+ <ul>
+ <li><a href="jozan/">jozan</a></li>
+ <li><a href="salad/">salad</a></li>
+ <li><a href="salad-joe/">salad-joe</a></li>
+ <hr>
+ <li><a href="https://jozanofastora.xyz/">Joe's dev blog</a></li>
+ </ul>
+ </div>
+ <div class="body-contents">
+ <h2>About GitJoe</h2>
+ <p>
+ This website is my public front-end for me and my
+ pals most sweet repositories, hosted here on this server!
+ <br>
+ <br>
+ Check out <a href="index.php#users">GitJoe users repos</a> bellow right now!
+ </p>
+ <h2>How to be on GitJoe?</h2>
+ <p>
+ If you too want your free, BSD-powered, BSD-licensed, uncensored,
+ ad-free, untracked, analytics-free, telemetry-free,
+ unbloated, JavaScript-free and fancy-framework-free
+ git repo hosting, get in touch with me with one of these
+ <a href="https://jozanofastora.xyz/links.html">links</a>
+ or my email directly: <b>bousset.rudy@gmail.com</b>
+ </p>
+ <h2 class="users">GitJoe users repositories</h2>
+ <p>
+ <ul>
+ <li><a href="jozan/">jozan</a></li>
+ <li><a href="salad/">salad</a></li>
+ <li><a href="salad-joe/">salad-joe</a></li>
+ </ul>
+ </p>
+ </div>
+ <footer>
+ <p>
+ Copyright &copy; 2020-2022, Joe -
+ see <a href="license.html">LICENSE</a> -
+ this website does not use cookies or php or js
+ </p>
+ </footer>
+ </div>
+ </body>
+</html>
diff --git a/index.php b/index.php
deleted file mode 100644
index ae25593..0000000
--- a/index.php
+++ /dev/null
@@ -1,50 +0,0 @@
-<!-- ----------------------------------------------------------------------- -->
-<!-- -->
-<!-- File : index.php /_________/ -->
-<!-- Authors : Joe | -->
-<!-- Date : 06/2020 | -->
-<!-- Info : The home page | -->
-<!-- / | -->
-<!-- \ / -->
-<!-- \_____/ -->
-<!-- -->
-<!-- ----------------------------------------------------------------------- -->
-
-<?php
-$prefix = "./";
-$curr_dir = basename(getcwd());
-if ($curr_dir != "git-jozan" && $curr_dir != "gitjoe") {
- $prefix = "../";
-}
-?>
-<?php include $prefix."inc/classic-contents.inc.php"; ?>
-<?php jo_head("Home"); ?>
-<?php jo_sidebar(); ?>
-<div class="body-contents">
- <h2>About GitJoe</h2>
- <p>
- This website is my public front-end for me and my
- pals most sweet repositories, hosted here on this server!
- <br>
- <br>
- Check out <a href="index.php#users">GitJoe users repos</a> bellow right now!
- </p>
- <h2>How to be on GitJoe?</h2>
- <p>
- If you too want your free, BSD-powered, BSD-licensed, uncensored,
- ad-free, untracked, analytics-free,
- unbloated, JavaScript-free and fancy-framework-free
- git repo hosting, get in touch with me with one of these
- <a href="https://jozanofastora.xyz/links.php">links</a>
- or my email directly: <b>bousset.rudy@gmail.com</b>
- </p>
- <h2 class="users">GitJoe users repositories</h2>
- <p>
- <ul>
- <li><a href="jozan/">jozan</a></li>
- <li><a href="salad/">salad</a></li>
- <li><a href="salad-joe/">salad-joe</a></li>
- </ul>
- </p>
-</div>
-<?php jo_footer(); ?>
diff --git a/license.html b/license.html
new file mode 100644
index 0000000..ff71533
--- /dev/null
+++ b/license.html
@@ -0,0 +1,89 @@
+<!--
+ * ========================
+ * ===== ===============
+ * ====== ================
+ * ====== ================
+ * ====== ==== ==== ==
+ * ====== === == = =
+ * ====== === = == =
+ * = === === = == ====
+ * = === === = == = =
+ * == ===== ==== ==
+ * ========================
+ *
+ * gitjoe: license.html
+ * Sun Apr 17 16:47:11 CEST 2022
+ * Joe
+-->
+
+<html>
+ <head>
+ <title>GitJoe - LICENSE</title>
+ <link rel="stylesheet" type="text/css" href="css/site.css">
+ <meta charset="UTF-8">
+ </head>
+ <body>
+ <div class="fullpage">
+ <header>
+ <h1><a href="index.html">GitJoe - LICENSE</a></h1>
+ </header>
+ <div class="sidebar">
+ <ul>
+ <li><a href="jozan/">jozan</a></li>
+ <li><a href="salad/">salad</a></li>
+ <li><a href="salad-joe/">salad-joe</a></li>
+ <hr>
+ <li><a href="https://jozanofastora.xyz/">Joe's dev blog</a></li>
+ </ul>
+ </div>
+ <div class="body-contents">
+ <h1>BSD 3-Clause</h1>
+ <p>
+ This site is copyrighted under the BSD 3-Clause License.
+ You can find the terms of the license bellow:
+ </p>
+ <pre>
+BSD 3-Clause License
+
+Copyright (c) 2020-2022, Joe
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ </pre>
+ <p>
+ You can also <a href="LICENSE">download</a> the license file.
+ </p>
+ </div>
+ <footer>
+ <p>
+ Copyright &copy; 2020-2022, Joe -
+ see <a href="license.html">LICENSE</a> -
+ this website does not use cookies or php or js
+ </p>
+ </footer>
+ </div>
+ </body>
+</html>
diff --git a/license.php b/license.php
deleted file mode 100644
index 01f2819..0000000
--- a/license.php
+++ /dev/null
@@ -1,39 +0,0 @@
-<!-- ----------------------------------------------------------------------- -->
-<!-- -->
-<!-- File : license.php /_________/ -->
-<!-- Authors : Joe | -->
-<!-- Date : 06/2020 | -->
-<!-- Info : The LICENSE display page | -->
-<!-- / | -->
-<!-- \ / -->
-<!-- \_____/ -->
-<!-- -->
-<!-- ----------------------------------------------------------------------- -->
-
-<?php
-$prefix = "./";
-$curr_dir = basename(getcwd());
-if ($curr_dir != "git-jozan" && $curr_dir != "gitjoe") {
- $prefix = "../";
-}
-?>
-<?php include $prefix."inc/classic-contents.inc.php"; ?>
-<?php jo_head("LICENSE"); ?>
-<?php jo_sidebar(); ?>
-<div class="body-contents">
- <h1>BSD 3-Clause</h1>
- <p>
- This site is copyrighted under the BSD 3-Clause License.
- You can find the terms of the license bellow:
- </p>
- <pre>
-<?php
-$license = file_get_contents('LICENSE');
-echo "$license";
-?>
- </pre>
- <p>
- You can also <a href="LICENSE">download</a> the license file.
- </p>
-</div>
-<?php jo_footer(); ?>