Update 3 files
- /content/about.md - /html/about.php - /config/global.ini
This commit is contained in:
parent
d257e13fc2
commit
c5d0885971
@ -12,6 +12,7 @@ dbhost = "127.0.0.1"
|
||||
|
||||
[nav]
|
||||
Journal = "journal.php"
|
||||
A propos = "about.php"
|
||||
|
||||
[classifications]
|
||||
0 = "Public"
|
||||
|
0
content/about.md
Normal file
0
content/about.md
Normal file
61
html/about.php
Normal file
61
html/about.php
Normal file
@ -0,0 +1,61 @@
|
||||
<?php
|
||||
require "../include/variables.php";
|
||||
require "../include/functions.php";
|
||||
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="./src/css/style.css">
|
||||
<link rel="icon" href="src/img/favicon.ico">
|
||||
<title><?=$title?></title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div class="pancontent">
|
||||
<div class="athena-container">
|
||||
<a href="/" class="athena-link">
|
||||
<img src="./src/img/athena-mono.png" class="athena">
|
||||
</a>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div>
|
||||
<div class="main-title">
|
||||
<div class="title"><?=$header_title?></div>
|
||||
<div class="subtitle"><?=$header_subtitle?></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<nav>
|
||||
<div class="pancontent">
|
||||
<?php nav($nav);?>
|
||||
</div>
|
||||
</nav>
|
||||
<main>
|
||||
<div class="content">
|
||||
<div>
|
||||
<div>
|
||||
<?php
|
||||
$markdownContent = file_get_contents('../content/about.md');
|
||||
|
||||
require_once '../include/parsedown.php';
|
||||
$parsedown = new Parsedown();
|
||||
echo $parsedown->text($markdownContent);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<footer>
|
||||
<div class="content">
|
||||
<div>
|
||||
<div><?=$copyright?></div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user