feat: ✨ add basic first website nibbles
This commit is contained in:
parent
24167ed96c
commit
ef96bd935b
6 changed files with 67 additions and 0 deletions
3
templates/about.html
Normal file
3
templates/about.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
|
||||
|
||||
{{ }}
|
15
templates/index.html
Normal file
15
templates/index.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Lucidragons' Fire</title>
|
||||
<link rel="stylesheet" href="src/dergstyle.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1 id="big_title">The dergsite</h1>
|
||||
<div id="title_separator"></div>
|
||||
|
||||
<ul>
|
||||
<li><a href="/about"> about </a></li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
18
templates/root.dergplate
Normal file
18
templates/root.dergplate
Normal file
|
@ -0,0 +1,18 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>PHP Test</title>
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
|
||||
echo '<p>Hello World</p>';
|
||||
|
||||
require 'src/templater.php';
|
||||
|
||||
$test = new TemplateFillout('test.dergplate');
|
||||
|
||||
$test->render();
|
||||
|
||||
?>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue