prepare the template

This commit is contained in:
Mylloon 2023-04-11 01:53:08 +02:00
parent 708b48d45b
commit dfcb6f41f9
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 60 additions and 0 deletions

37
templates/header.html Normal file
View file

@ -0,0 +1,37 @@
<head dir="rtl">
<title>{{#data}}{{page_title}}{{/data}} - {{app_name}}</title>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="css/style.css" />
<meta name="author" content="Mylloon" />
<meta name="description" content="{{ desc }}" />
<base target="_blank" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="icons/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="icons/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="icons/favicon-16x16.png"
/>
<link rel="manifest" href="icons/site.webmanifest" />
<link rel="mask-icon" href="icons/safari-pinned-tab.svg" color="#5bbad5" />
<link rel="shortcut icon" href="icons/favicon.ico" />
<meta name="msapplication-TileColor" content="#ffffff" />
<meta name="msapplication-config" content="icons/browserconfig.xml" />
<meta name="theme-color" content="#2a2424" />
<meta content="{{ title }}" property="og:title" />
<meta content="{{ desc }}" property="og:description" />
<meta content="icons/apple-touch-icon.png" property="og:image" />
<meta content="#43B581" data-react-helmet="true" name="theme-color" />
</head>

23
templates/portfolio2.html Normal file
View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html class="index" lang="fr">
{{> header.html }}
<body>
{{#data}}
<h1 id="title">Projets qui me tiennent à coeur</h1>
<div id="content">
<h2 class="subtitle">Bots</h2>
<div class="subcontent">
{{#metadata}}{{#info}}
<h3 class="subsubtitle">
<a href="{{link}}">{{title}}</a>
</h3>
{{/info}}{{/metadata}}
<div class="subcontent">{{& content }}</div>
</div>
</div>
<footer class="backToIndexPage">
<a href="/" target="_self">Retour à la page principale</a>
</footer>
{{/data}}
</body>
</html>