mirror of
https://github.com/szymon-jozef/static-site-generator.git
synced 2026-09-07 12:10:42 +02:00
updated templates
This commit is contained in:
6
templates/head.html
Normal file
6
templates/head.html
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>{{title}}</title>
|
||||||
|
<link rel="stylesheet" href="/style/style.css">
|
||||||
|
</head>
|
||||||
3
templates/header.html
Normal file
3
templates/header.html
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<header>
|
||||||
|
<h1>{{title}}</h1>
|
||||||
|
</header>
|
||||||
@@ -1,23 +1,12 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="{{lang}}">
|
<html lang="{{lang}}">
|
||||||
<head>
|
{{head}}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<title>{{title}}</title>
|
|
||||||
<link rel="stylesheet" href="/style/style.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
<body>
|
||||||
<header>
|
{{header}}
|
||||||
<h1>{{title}}</h1>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<nav id="nav">
|
|
||||||
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<ol id="posts">
|
<ol id="posts">
|
||||||
|
{{posts}}
|
||||||
</ol>
|
</ol>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user