From f8be5807e90071eeedac0bbf3d35cfd4da3301a0 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Wed, 6 Mar 2024 23:43:50 +0000 Subject: [PATCH] Update 3 files - /html/journal.php - /content/journal/0.md - /config/global.ini --- config/global.ini | 2 +- content/journal/0.md | 1 + html/journal.php | 69 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 content/journal/0.md create mode 100644 html/journal.php diff --git a/config/global.ini b/config/global.ini index 92c5d82a..e2145dae 100644 --- a/config/global.ini +++ b/config/global.ini @@ -5,4 +5,4 @@ header-subtitle = "Club Réseaux" copyright = "© 2024 - E59" [nav] -Page1 = "/page1" +Journal = "journal.php" diff --git a/content/journal/0.md b/content/journal/0.md new file mode 100644 index 00000000..96d86863 --- /dev/null +++ b/content/journal/0.md @@ -0,0 +1 @@ +# Aucun article choisi \ No newline at end of file diff --git a/html/journal.php b/html/journal.php new file mode 100644 index 00000000..b0563f72 --- /dev/null +++ b/html/journal.php @@ -0,0 +1,69 @@ + + + + + + + + + <?=$title?> + + +
+
+
+ + + +
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+ text($markdownContent); + } else { + echo "

L'article spécifié n'existe pas

"; + } + ?> +
+
+
+
+ + + \ No newline at end of file