restructured to public folder
This commit is contained in:
parent
43addb92a2
commit
83737bd3a6
101 changed files with 2945 additions and 8373 deletions
7
content/blog/blog.11tydata.js
Normal file
7
content/blog/blog.11tydata.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
export default {
|
||||
layout: 'layouts/post.njk',
|
||||
title: 'Unnamed',
|
||||
tags: ['post'],
|
||||
author: 'Luca Junge',
|
||||
date: 'Created',
|
||||
};
|
||||
23
content/blog/blog.njk
Normal file
23
content/blog/blog.njk
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
layout: layouts/overview.njk
|
||||
title: All blogposts
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
|
||||
{%- for post in collections.post -%}
|
||||
<article>
|
||||
<header>
|
||||
<h1>
|
||||
<a href="{{post.url}}">{{post.data.title}}</a>
|
||||
</h1>
|
||||
|
||||
<!--time>{{post.date | formatDate }}</time-->
|
||||
</header>
|
||||
|
||||
<p>{{post.data.excerpt}}</p>
|
||||
|
||||
<a class="button" href="{{post.url}}">
|
||||
Weiterlesen
|
||||
</a>
|
||||
</article>
|
||||
{%- endfor -%}
|
||||
6
content/blog/test.md
Normal file
6
content/blog/test.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Hello World This is a title
|
||||
excerpt: This is the excerpt
|
||||
---
|
||||
|
||||
Creating a successful blog post involves a few key elements: engaging content, valuable insights, and a clear structure. Begin with a captivating introduction that highlights what readers will gain. In the body, break down the topic into digestible sections using headings for clarity. Keep paragraphs short, use bullet points, and include examples to keep readers interested. To wrap it up, a summary or actionable takeaway helps solidify the message. Don’t forget to add visuals, as they increase engagement and make the post more shareable.
|
||||
Loading…
Add table
Add a link
Reference in a new issue