Working generator & added whole site

This commit is contained in:
Thomas
2021-03-28 15:54:59 +02:00
commit 19123fa85a
82 changed files with 1785 additions and 0 deletions

12
templates/article.hbs Normal file
View File

@@ -0,0 +1,12 @@
<div class="contentContainer">
<article>
<h1>{{post.title}}</h1>
<h5>{{post.date}}</h5>
<hr/>
{{{post.body}}}
<hr/>
<footer>
<a class="footer" href="/">gltronic - 2021</a>
</footer>
</article>
</div>

11
templates/base.hbs Normal file
View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="fr">
{{> header}}
<body>
<div class="flexContainer">
{{> menu}}
{{> submenu}}
{{> article}}
</div>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="fr">
{{> header}}
<body>
<div class="flexContainer">
{{> menu}}
{{> submenu}}
</div>
</body>
</html>

7
templates/header.hbs Normal file
View File

@@ -0,0 +1,7 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<link rel="stylesheet" href="/css/style.css" type="text/css">
<link rel="shortcut icon" href="/img/icon.png" type="image/png">
<title>GLTRONIC</title>
</head>

23
templates/landing.hbs Normal file

File diff suppressed because one or more lines are too long

12
templates/menu.hbs Normal file
View File

@@ -0,0 +1,12 @@
<div class="menuContainer">
<a href="/">
<video class="avatar" src="/img/avatar_animated2.webm" loop="loop" autoplay="autoplay"></video>
<ul>
<li><a href="https://gltronic.ovh/blog/index.html">Blog</a></li>
<li><a href="https://gltronic.ovh/projets/index.html">Projets</a></li>
<li><a href="https://gltronic.ovh/artworks/index.html">Artworks</a></li>
<li><a href="https://git.gltronic.ovh/">git</a></li><li><a href="https://cloud.gltronic.ovh/">Cloud</a></li>
<li><a href="https://gltronic.ovh/about.html">?</a></li>
</ul>
</a>
</div>

14
templates/submenu.hbs Normal file
View File

@@ -0,0 +1,14 @@
<div class="submenuContainer">
<div>
<h1>{{section.title}}</h1>
</div>
<hr/>
<nav id="navList">
{{#each section.posts}}
<a href="{{this.url}}">
<span class="postTitle">{{this.title}}</span>
<span class="postDate">{{this.date}}</span>
</a>
{{/each}}
</nav>
</div>