-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
584f48a
commit 5fcec05
Showing
16 changed files
with
145 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
{ | ||
"title": "11straps - A Elevents and Bootstrap 5 static website geneerator boilerplate" | ||
"title": "11straps - A Elevents and Bootstrap 5 static website geneerator boilerplate", | ||
"author": "Holger Koenemann", | ||
"description": "Combination of static site generator eleventy and CSS framework Bootstrap 5 into one solid boilerplate" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!doctype html> | ||
<html class="h-100" lang="en"> | ||
<head> | ||
|
||
{% include 'snippets/head.njk' %} | ||
|
||
</head> | ||
<body> | ||
|
||
{% include 'snippets/navbar.njk' %} | ||
|
||
{% include 'snippets/maincontent.njk' %} | ||
|
||
<div class="container mb-5"> | ||
{% include 'snippets/postloop.njk' %} | ||
</div> | ||
|
||
{% include 'snippets/footer.njk' %} | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,40 @@ | ||
--- | ||
layout: layouts/base.njk | ||
--- | ||
{{ content | safe }} | ||
<!doctype html> | ||
<html class="h-100" lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<meta name="description" content="Combination of static site generator eleventy and CSS framework Bootstrap 5 into one solid boilerplate"> | ||
<link rel="icon" type="image/png" sizes="96x96" href="/img/favicon.png"> | ||
<meta name="author" content="Holger Koenemann"> | ||
<meta name="generator" content="11straps"> | ||
<meta name="HandheldFriendly" content="true"/> | ||
<title>{{ title or metadata.title }}</title> | ||
<!-- build:css --> | ||
<link rel="stylesheet" href="{{ "/css/theme.css" | url }}"> | ||
<!-- endbuild --> | ||
</head> | ||
|
||
<body class="bg-dark"> | ||
|
||
<nav class="navbar navbar-expand-lg navbar-dark pt-0"> | ||
<div class="container"> | ||
<a class="navbar-brand mb-0 py-4 px-3 pt-5 text-center text-white bg-primary" href="#">11straps</a> | ||
</div> | ||
</nav> | ||
|
||
<main> | ||
{{ content | safe }} | ||
</main> | ||
<div class="container"> | ||
<footer class="row text-white-50"> | ||
<div class="col-12 py-5"> | ||
<p><img src="img/hkimg.png" alt="Holger Koenemann, UX designer and Frontend Engineer" width="60" height="60" class="float-left mt-1 me-3 gradient-rounded">A tiny sideproject by <a href="https://github.com/holger1411" class="link-fancy">Holger Koenemann</a>. | ||
Made in lovely Hannover, Germany</p> | ||
</div> | ||
</footer> | ||
</div> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div class="container"> | ||
<footer class="row"> | ||
<div class="col-12 pb-5"> | ||
<hr/> | ||
<p><img src="{{ '/img/hkimg.png' | url }}" alt="Holger Koenemann, UX designer and Frontend Engineer" width="60" height="60" class="float-left mt-1 me-3 gradient-rounded">A tiny sideproject by <a href="https://github.com/holger1411" class="link-fancy text-primary">Holger Koenemann</a>. | ||
Made in lovely Hannover, Germany</p> | ||
</div> | ||
</footer> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<meta name="description" content="{{ metadata.description }}"> | ||
<link rel="icon" type="image/png" sizes="96x96" href="{{ '/img/favicon.png' | url }}"> | ||
<meta name="author" content="{{ metadata.author }}"> | ||
<meta name="generator" content="11straps"> | ||
<meta name="HandheldFriendly" content="true"/> | ||
<title>{{ title or metadata.title }}</title> | ||
<!-- build:css --> | ||
<link rel="stylesheet" href="{{ '/css/theme.css' | url }}"> | ||
<!-- endbuild --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<main class="container py-5"> | ||
<h1>{{ pageTitle }}</h1> | ||
{{ content | safe }} | ||
</main> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<nav class="navbar navbar-expand-lg navbar-dark pt-0"> | ||
<div class="container"> | ||
<a class="navbar-brand mb-0 py-4 px-3 pt-5 text-center text-white bg-primary" href="#">11straps</a> | ||
</div> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<div class="row"> | ||
{% for post in collections.posts %} | ||
<div class="col-12 col-lg-6 py-4"> | ||
<h2><a href="{{ post.url }}" class="text-dark text-decoration-none">{{ post.data.pageTitle }}</a></h2> | ||
<time class="fw-bold" datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate }}</time> | ||
<p>{{ post.data.lead }}</p> | ||
<a href="{{ post.url }}">Read more...</a> | ||
</div> | ||
{% endfor %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
layout: layouts/default.njk | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
layout: layouts/base.njk | ||
layout: layouts/home.njk | ||
--- | ||
|
||
<div class="container my-vh-6"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
layout: layouts/default.njk | ||
pageTitle: Lorem ipsum dolor | ||
date: Created | ||
lead: Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | ||
--- | ||
|
||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
layout: layouts/default.njk | ||
pageTitle: Sit amet elitr | ||
date: Created | ||
lead: Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | ||
--- | ||
|
||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"layout": "layouts/default.njk", | ||
"tags": ["posts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters