diff options
Diffstat (limited to 'themes/_includes')
| -rw-r--r-- | themes/_includes/components/pagination.html | 15 | ||||
| -rw-r--r-- | themes/_includes/components/post.html | 28 | ||||
| -rw-r--r-- | themes/_includes/layout/footer.html | 8 | ||||
| -rw-r--r-- | themes/_includes/layout/header.html | 6 | ||||
| -rw-r--r-- | themes/_includes/layout/navigation.html | 6 | ||||
| -rw-r--r-- | themes/_includes/meta.html | 19 | ||||
| -rw-r--r-- | themes/_includes/partials/burgerMenu.html | 4 | ||||
| -rw-r--r-- | themes/_includes/partials/headerSeparator.html | 1 |
8 files changed, 87 insertions, 0 deletions
diff --git a/themes/_includes/components/pagination.html b/themes/_includes/components/pagination.html new file mode 100644 index 0000000..524cc8f --- /dev/null +++ b/themes/_includes/components/pagination.html @@ -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>
diff --git a/themes/_includes/components/post.html b/themes/_includes/components/post.html new file mode 100644 index 0000000..e901ec5 --- /dev/null +++ b/themes/_includes/components/post.html @@ -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> diff --git a/themes/_includes/layout/footer.html b/themes/_includes/layout/footer.html new file mode 100644 index 0000000..bd27826 --- /dev/null +++ b/themes/_includes/layout/footer.html @@ -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> diff --git a/themes/_includes/layout/header.html b/themes/_includes/layout/header.html new file mode 100644 index 0000000..d5b7a76 --- /dev/null +++ b/themes/_includes/layout/header.html @@ -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>
diff --git a/themes/_includes/layout/navigation.html b/themes/_includes/layout/navigation.html new file mode 100644 index 0000000..7f46bd8 --- /dev/null +++ b/themes/_includes/layout/navigation.html @@ -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>
diff --git a/themes/_includes/meta.html b/themes/_includes/meta.html new file mode 100644 index 0000000..d649432 --- /dev/null +++ b/themes/_includes/meta.html @@ -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$ diff --git a/themes/_includes/partials/burgerMenu.html b/themes/_includes/partials/burgerMenu.html new file mode 100644 index 0000000..5d0bdc2 --- /dev/null +++ b/themes/_includes/partials/burgerMenu.html @@ -0,0 +1,4 @@ +<input type="checkbox" class="toggleBurger" id="toggleBurger">
+<label for="toggleBurger" class="toggleBurgerWrapper">
+ <span></span>
+</label>
\ No newline at end of file diff --git a/themes/_includes/partials/headerSeparator.html b/themes/_includes/partials/headerSeparator.html new file mode 100644 index 0000000..561de6d --- /dev/null +++ b/themes/_includes/partials/headerSeparator.html @@ -0,0 +1 @@ +<div class="header-content-separator"></div>
\ No newline at end of file |
