From 95112b1eb06a4be531ded59563d53a63a8d614e8 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 8 Aug 2021 12:04:30 +0200 Subject: Opening! --- includes/blog/data/2020-05-01@something.json | 3 -- includes/blog/data/2020-05-01@something.json.html | 1 - includes/blog/data/2020-05-02@something2.json | 3 -- includes/blog/data/2020-05-02@something2.json.html | 1 - includes/blog/data/2020-05-03@something3.json | 3 -- includes/blog/data/2020-05-03@something3.json.html | 1 - includes/blog/data/2020-05-04@something4.json | 4 -- .../blog/data/2020-05-04@something4.json.fr.html | 1 - includes/blog/data/2020-05-04@something4.json.html | 1 - includes/blog/home.php | 59 ++++++++++++---------- includes/blog/list.php | 28 +++++----- 11 files changed, 45 insertions(+), 60 deletions(-) delete mode 100644 includes/blog/data/2020-05-01@something.json delete mode 100644 includes/blog/data/2020-05-01@something.json.html delete mode 100644 includes/blog/data/2020-05-02@something2.json delete mode 100644 includes/blog/data/2020-05-02@something2.json.html delete mode 100644 includes/blog/data/2020-05-03@something3.json delete mode 100644 includes/blog/data/2020-05-03@something3.json.html delete mode 100644 includes/blog/data/2020-05-04@something4.json delete mode 100644 includes/blog/data/2020-05-04@something4.json.fr.html delete mode 100644 includes/blog/data/2020-05-04@something4.json.html (limited to 'includes/blog') diff --git a/includes/blog/data/2020-05-01@something.json b/includes/blog/data/2020-05-01@something.json deleted file mode 100644 index 51021ea..0000000 --- a/includes/blog/data/2020-05-01@something.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "title": "Some article" -} \ No newline at end of file diff --git a/includes/blog/data/2020-05-01@something.json.html b/includes/blog/data/2020-05-01@something.json.html deleted file mode 100644 index 12ed35a..0000000 --- a/includes/blog/data/2020-05-01@something.json.html +++ /dev/null @@ -1 +0,0 @@ -This is some test or, is it?... We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. \ No newline at end of file diff --git a/includes/blog/data/2020-05-02@something2.json b/includes/blog/data/2020-05-02@something2.json deleted file mode 100644 index 51021ea..0000000 --- a/includes/blog/data/2020-05-02@something2.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "title": "Some article" -} \ No newline at end of file diff --git a/includes/blog/data/2020-05-02@something2.json.html b/includes/blog/data/2020-05-02@something2.json.html deleted file mode 100644 index 12ed35a..0000000 --- a/includes/blog/data/2020-05-02@something2.json.html +++ /dev/null @@ -1 +0,0 @@ -This is some test or, is it?... We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. \ No newline at end of file diff --git a/includes/blog/data/2020-05-03@something3.json b/includes/blog/data/2020-05-03@something3.json deleted file mode 100644 index 51021ea..0000000 --- a/includes/blog/data/2020-05-03@something3.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "title": "Some article" -} \ No newline at end of file diff --git a/includes/blog/data/2020-05-03@something3.json.html b/includes/blog/data/2020-05-03@something3.json.html deleted file mode 100644 index 12ed35a..0000000 --- a/includes/blog/data/2020-05-03@something3.json.html +++ /dev/null @@ -1 +0,0 @@ -This is some test or, is it?... We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. \ No newline at end of file diff --git a/includes/blog/data/2020-05-04@something4.json b/includes/blog/data/2020-05-04@something4.json deleted file mode 100644 index c8376de..0000000 --- a/includes/blog/data/2020-05-04@something4.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "title": "Some article", - "title.fr": "Un article" -} \ No newline at end of file diff --git a/includes/blog/data/2020-05-04@something4.json.fr.html b/includes/blog/data/2020-05-04@something4.json.fr.html deleted file mode 100644 index 8bb1663..0000000 --- a/includes/blog/data/2020-05-04@something4.json.fr.html +++ /dev/null @@ -1 +0,0 @@ -Il s'agit d'un test ou, en est-il un ?... Nous ne saurons jamais si il devait vraiment y avoir du texte ou quelque chose d'autre ici. Nous ne saurons jamais si il devait vraiment y avoir du texte ou quelque chose d'autre ici. Nous ne saurons jamais si il devait vraiment y avoir du texte ou quelque chose d'autre ici. Nous ne saurons jamais si il devait vraiment y avoir du texte ou quelque chose d'autre ici. Nous ne saurons jamais si il devait vraiment y avoir du texte ou quelque chose d'autre ici. Nous ne saurons jamais si il devait vraiment y avoir du texte ou quelque chose d'autre ici. Nous ne saurons jamais si il devait vraiment y avoir du texte ou quelque chose d'autre ici. Nous ne saurons jamais si il devait vraiment y avoir du texte ou quelque chose d'autre ici. Nous ne saurons jamais si il devait vraiment y avoir du texte ou quelque chose d'autre ici. Nous ne saurons jamais si il devait vraiment y avoir du texte ou quelque chose d'autre ici. Nous ne saurons jamais si il devait vraiment y avoir du texte ou quelque chose d'autre ici. \ No newline at end of file diff --git a/includes/blog/data/2020-05-04@something4.json.html b/includes/blog/data/2020-05-04@something4.json.html deleted file mode 100644 index 12ed35a..0000000 --- a/includes/blog/data/2020-05-04@something4.json.html +++ /dev/null @@ -1 +0,0 @@ -This is some test or, is it?... We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. We would never know if there really should be any text or whatever thingy just in that place right here. \ No newline at end of file diff --git a/includes/blog/home.php b/includes/blog/home.php index 49817e8..287ff64 100644 --- a/includes/blog/home.php +++ b/includes/blog/home.php @@ -1,29 +1,32 @@ -
- - - -
-
-
-

150 ? substr(strip_tags($data["html"]), 0, 150) . "..." : strip_tags($data["html"]) ?>

-

format("U")); ?>

- " class="card-link"> -
-
- - +
+ + + text($data['html']); + ?> +
+
+
+

150 ? substr(strip_tags($data["html"]), 0, 150) . "..." : strip_tags($data["html"]) ?>

+

format("U")); ?>

+ " class="card-link"> +
+
+ +
\ No newline at end of file diff --git a/includes/blog/list.php b/includes/blog/list.php index 1c81630..4777027 100644 --- a/includes/blog/list.php +++ b/includes/blog/list.php @@ -1,15 +1,15 @@ -