Initial commit
All checks were successful
deploy-pages Deployed in 22 seconds

This commit is contained in:
2023-01-01 00:33:05 +01:00
commit 6246856fda
23 changed files with 2596 additions and 0 deletions

52
templates/layout.html Normal file
View File

@@ -0,0 +1,52 @@
<!DOCTYPE html>
<html lang="cs">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
$if(robots)$<meta name="robots" content="$robots$">$endif$
<link rel="icon" href="/images/icon.svg" type="image/svg+xml">
<title>$siteTitle$ ⬩ $title$</title>
<link href="/styles/bootstrap.min.css" rel="stylesheet">
<link href="/styles/default.css" rel="stylesheet">
<link href="/styles/jquery.fancybox.css" rel="stylesheet">
<link href="/feed.atom" rel="alternate" type="application/atom+xml">
</head>
<body>
<div class="container main">
<header>
<a href="/">
<div class="header-wrapper">
<h1 class="blog-title">$siteTitle$</h1>
<p class="lead blog-description">$siteDescription$</p>
</div>
</a>
</header>
<div class="row">
<div class="col-sm-8 blog-main">
<h2>$title$</h2>
$body$
</div>
<div class="col-sm-4 col-sm-offset-1 blog-sidebar">
<div class="sidebar-module">
$menu$
</div>
</div>
</div>
</div>
<script src="/scripts/jquery.min.js"></script>
<script src="/scripts/jquery.fancybox.min.js"></script>
<script src="/scripts/main.js"></script>
</body>
</html>

4
templates/post.html Normal file
View File

@@ -0,0 +1,4 @@
<article class="blog-post">
<p class="blog-post-meta">$date$</p>
$body$
</article>

9
templates/posts.html Normal file
View File

@@ -0,0 +1,9 @@
<div class="news">
$for(posts)$
<article class="blog-post">
<h3 class="blog-post-title" id="post-$slug$"><a href="$url$">$title$</a></h3>
<p class="blog-post-meta">$date$</p>
$body$
</article>
$endfor$
</div>