From cb51ae59b900234844be615537cf5a6b398f494e Mon Sep 17 00:00:00 2001
From: JozanLeClerc <bousset.rudy@gmail.com>
Date: Sun, 17 Apr 2022 02:52:50 +0200
Subject: Removing php

---
 inc/classic-contents.html    |  70 +++++++++++++++++++++++++++++
 inc/classic-contents.inc.php | 103 -------------------------------------------
 inc/index.php                |   1 -
 3 files changed, 70 insertions(+), 104 deletions(-)
 create mode 100644 inc/classic-contents.html
 delete mode 100644 inc/classic-contents.inc.php
 delete mode 100644 inc/index.php

(limited to 'inc')

diff --git a/inc/classic-contents.html b/inc/classic-contents.html
new file mode 100644
index 0000000..2d94de4
--- /dev/null
+++ b/inc/classic-contents.html
@@ -0,0 +1,70 @@
+<!--
+ * ========================
+ * =====    ===============
+ * ======  ================
+ * ======  ================
+ * ======  ====   ====   ==
+ * ======  ===     ==  =  =
+ * ======  ===  =  ==     =
+ * =  ===  ===  =  ==  ====
+ * =  ===  ===  =  ==  =  =
+ * ==     =====   ====   ==
+ * ========================
+ *
+ * jozanofastora.xyz: inc/classic-contents.html
+ * Sat Apr 16 16:01:56 CEST 2022
+ * Joe
+ *
+ * Content dump for everything
+-->
+
+<!-- HEADER -->
+<html>
+	<head>
+		<title>Joe's own website -</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">Joe's dev blog -</a></h1>
+			</header>
+
+<!-- BLOAT HEAD -->
+<html>
+	<head>
+		<title>Joe's own website -</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="css/site.css">
+		<meta charset="UTF-8">
+	</head>
+	<body>
+		<div class="fullpage">
+			<header>
+				<h1><a href="index.html">Joe's dev blog -</a></h1>
+			</header>
+
+<!-- SIDEBAR -->
+			<div class="sidebar">
+				<ul>
+					<li><a href="index.html">home</a></li>
+					<li><a href="projects/">my projects</a></li>
+					<li><a href="files/">files</a></li>
+					<li><a href="links.html">links</a></li>
+					<hr>
+					<li><a href="https://git.jozanofastora.xyz/">GitJoe</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 44bc729..0000000
--- a/inc/classic-contents.inc.php
+++ /dev/null
@@ -1,103 +0,0 @@
-<!--
- * ========================
- * =====    ===============
- * ======  ================
- * ======  ================
- * ======  ====   ====   ==
- * ======  ===     ==  =  =
- * ======  ===  =  ==     =
- * =  ===  ===  =  ==  ====
- * =  ===  ===  =  ==  =  =
- * ==     =====   ====   ==
- * ========================
- *
- * jozanofastora.xyz: inc/classic-contents.php
- * Fri Dec 10 19:33:14 CET 2021
- * Joe
- *
- * Functions for contents on every page
--->
-
-<?php
-include "org.inc.php";
-
-function
-jo_head($title) {
-	global $prefix;
-?>
-	<html>
-		<head>
-			<title>Joe's own website - <?php echo "$title"; ?></title>
-			<link rel="stylesheet" type="text/css" href="<?php echo $prefix; ?>css/site.css">
-			<meta charset="UTF-8">
-			<?php jo_org_inc(); ?>
-		</head>
-		<body>
-			<div class="fullpage">
-				<header>
-					<h1><a href="<?php echo $prefix; ?>index.php">Joe's dev blog - <?php echo "$title"; ?></a></h1>
-				</header>
-<?php
-}
-
-function
-jo_bloat_head($title) {
-	global $prefix;
-?>
-	<html>
-		<head>
-			<title>Joe's own website - <?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">
-			<?php jo_org_inc(); ?>
-		</head>
-		<body>
-			<div class="fullpage">
-				<header>
-					<h1><a href="<?php echo $prefix; ?>index.php">Joe's dev blog - <?php echo "$title"; ?></a></h1>
-				</header>
-<?php
-}
-
-function
-jo_sidebar() {
-	global $prefix;
-?>
-
-	<div class="sidebar">
-		<ul>
-			<li><a href="<?php echo $prefix; ?>index.php">Home</a></li>
-			<li><a href="<?php echo $prefix; ?>c/">C</a></li>
-			<li><a href="<?php echo $prefix; ?>">C++</a></li>
-			<li><a href="<?php echo $prefix; ?>">Lisp</a></li>
-			<li><a href="<?php echo $prefix; ?>">Assembly</a></li>
-			<li><a href="<?php echo $prefix; ?>">UNIX</a></li>
-			<li><a href="<?php echo $prefix; ?>">GNU Emacs</a></li>
-			<li><a href="<?php echo $prefix; ?>projects/">My projects</a></li>
-			<li><a href="<?php echo $prefix; ?>">My C/C++ style</a></li>
-			<li><a href="<?php echo $prefix; ?>links.php">Links</a></li>
-			<hr>
-			<li><a href="https://git.jozanofastora.xyz/">GitJoe</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/inc/index.php b/inc/index.php
deleted file mode 100644
index d29ead0..0000000
--- a/inc/index.php
+++ /dev/null
@@ -1 +0,0 @@
-<?php header("Location: ../"); ?>
-- 
cgit v1.2.3