Move themes files into the root directory
This commit is contained in:
15
templates/_includes/components/pagination.html
Normal file
15
templates/_includes/components/pagination.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<div class="pagination">
|
||||
$if(previousPageNum)$
|
||||
<a href="$previousPageUrl$" class="previous">← Vorherige</a>
|
||||
$else$
|
||||
<span> </span>
|
||||
$endif$
|
||||
|
||||
<span class="page_number">Seite $currentPageNum$ von $numPages$</span>
|
||||
|
||||
$if(nextPageNum)$
|
||||
<a href="$nextPageUrl$" class="next">Nächste →</a>
|
||||
$else$
|
||||
<span> </span>
|
||||
$endif$
|
||||
</div>
|
||||
28
templates/_includes/components/post.html
Normal file
28
templates/_includes/components/post.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<article class="post" role="article">
|
||||
<h2 class="post-title">
|
||||
<a href="$url$">$title$</a>
|
||||
</h2>
|
||||
|
||||
<div class="post-author">
|
||||
<div class="post-meta">
|
||||
<time datetime="$date$" class="post-date">$published$</time>
|
||||
<div class="post-categories"><a href="/$tags$">$tags$</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="post-content">
|
||||
$if(teaser)$
|
||||
$teaser$
|
||||
$else$
|
||||
$description$
|
||||
$endif$
|
||||
<p>
|
||||
<a href="$url$" class="read-more-button" role="button">
|
||||
Weiterlesen...
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="post-footer">
|
||||
</div>
|
||||
</article>
|
||||
8
templates/_includes/layout/footer.html
Normal file
8
templates/_includes/layout/footer.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<footer class="site-footer">
|
||||
<nav>
|
||||
<a href="/impressum.html">Impressum</a>
|
||||
<a href="/datenschutz.html">Datenschutz</a>
|
||||
</nav>
|
||||
|
||||
<p>E-Mail: <a href="mailto:belka@caraus.de">belka@caraus.de</a></p>
|
||||
</footer>
|
||||
6
templates/_includes/layout/header.html
Normal file
6
templates/_includes/layout/header.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<header class="site-header">
|
||||
<a class="site-header-wrapper" href="/">
|
||||
<span class="site-subtitle">Über Technik und Philosophie</span>
|
||||
<span class="site-title">Mein Tagebuch</span>
|
||||
</a>
|
||||
</header>
|
||||
6
templates/_includes/layout/navigation.html
Normal file
6
templates/_includes/layout/navigation.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<nav class="site-navigation" role="navigation">
|
||||
<a href="/"$if(active-blog)$ class="active"$endif$>Home</a>
|
||||
$for(categories)$
|
||||
<a class="$body$" href="$url$">$title$</a>
|
||||
$endfor$
|
||||
</nav>
|
||||
19
templates/_includes/meta.html
Normal file
19
templates/_includes/meta.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<meta property="og:url" content="https://www.flevum.de$url$" />
|
||||
|
||||
$if(published)$
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="article:published_time" content="$date$" />
|
||||
$else$
|
||||
<meta property="og:type" content="website" />
|
||||
$endif$
|
||||
$if(tags)$
|
||||
<meta property="article:section" content="$tags$" />
|
||||
<meta property="article:tag" content="$tags$" />
|
||||
$endif$
|
||||
<meta property="og:title" content="$title$" />
|
||||
<meta property="og:site_name" content="Flevum über Technik und Philosophie" />
|
||||
$if(teaser)$
|
||||
<meta name="description" property="og:description" content="$teaser$" />
|
||||
$else$
|
||||
<meta name="description" property="og:description" content="Über Technik und Philosophie" />
|
||||
$endif$
|
||||
4
templates/_includes/partials/burgerMenu.html
Normal file
4
templates/_includes/partials/burgerMenu.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<input type="checkbox" class="toggleBurger" id="toggleBurger">
|
||||
<label for="toggleBurger" class="toggleBurgerWrapper">
|
||||
<span></span>
|
||||
</label>
|
||||
1
templates/_includes/partials/headerSeparator.html
Normal file
1
templates/_includes/partials/headerSeparator.html
Normal file
@@ -0,0 +1 @@
|
||||
<div class="header-content-separator"></div>
|
||||
7
templates/_layouts/blog.html
Normal file
7
templates/_layouts/blog.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<section class="post-list">
|
||||
$for(posts)$
|
||||
$partial("templates/_includes/components/post.html")$
|
||||
$endfor$
|
||||
</section>
|
||||
|
||||
$partial("templates/_includes/components/pagination.html")$
|
||||
6
templates/_layouts/page.html
Normal file
6
templates/_layouts/page.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<article class="page single" role="article">
|
||||
<h2 class="page-title" role="heading">$title$</h2>
|
||||
<div class="page-content">
|
||||
$body$
|
||||
</div>
|
||||
</article>
|
||||
19
templates/_layouts/post.html
Normal file
19
templates/_layouts/post.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<article class="post" role="article">
|
||||
<h2 class="post-title">
|
||||
$title$
|
||||
</h2>
|
||||
|
||||
<div class="post-author">
|
||||
<div class="post-meta">
|
||||
<time datetime="$date$" class="post-date">$published$</time>
|
||||
<div class="post-categories"><a href="/$tags$">$tags$</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="post-content">
|
||||
$body$
|
||||
</div>
|
||||
|
||||
<div class="post-footer">
|
||||
</div>
|
||||
</article>
|
||||
9
templates/_layouts/tag.html
Normal file
9
templates/_layouts/tag.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<h1 class="post-lists-title">Alle Posts mit Tag: <span>$title$</span></h1>
|
||||
|
||||
<section class="post-list">
|
||||
$for(posts)$
|
||||
$partial("templates/_includes/components/post.html")$
|
||||
$endfor$
|
||||
</section>
|
||||
|
||||
$partial("templates/_includes/components/pagination.html")$
|
||||
34
templates/default.html
Normal file
34
templates/default.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<!DOCTYPE html>
|
||||
<html data-theme="dark">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<meta name="author" content="Eugen Wissner" />
|
||||
|
||||
$partial("templates/_includes/meta.html")$
|
||||
|
||||
<title>$title$ | Flevum</title>
|
||||
|
||||
<link rel="icon" type="image/png" href="/assets/images/favicon.svg">
|
||||
<link href="/assets/css/styles.css?v=1" rel="stylesheet">
|
||||
<link href="/assets/css/custom.css?v=2" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
$partial("templates/_includes/partials/burgerMenu.html")$
|
||||
|
||||
$partial("templates/_includes/layout/header.html")$
|
||||
|
||||
$partial("templates/_includes/layout/navigation.html")$
|
||||
|
||||
$partial("templates/_includes/partials/headerSeparator.html")$
|
||||
|
||||
<main class="$if(active-index)$wrapper long$else$wrapper$endif$" role="main">
|
||||
$body$
|
||||
</main>
|
||||
|
||||
$partial("templates/_includes/layout/footer.html")$
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user