examples and tutorials
This commit is contained in:
parent
06914e6c02
commit
96bf869340
22 changed files with 159 additions and 122 deletions
|
|
@ -1,26 +1,23 @@
|
|||
---
|
||||
title: Alle Posts
|
||||
layout: post-list.njk
|
||||
layout: overview.njk
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
|
||||
<ul>
|
||||
{%- for post in collections.post -%}
|
||||
<li>
|
||||
<article>
|
||||
<header>
|
||||
<h1>
|
||||
<a href="{{post.url}}">{{post.data.title}}</a>
|
||||
</h1>
|
||||
{%- for post in collections.post -%}
|
||||
<article>
|
||||
<header>
|
||||
<h1>
|
||||
<a href="{{post.url}}">{{post.data.title}}</a>
|
||||
</h1>
|
||||
|
||||
<time>{{post.date | formatDate }}</time>
|
||||
</header>
|
||||
<time>{{post.date | formatDate }}</time>
|
||||
</header>
|
||||
|
||||
<p>{{post.templateContent | createExcerpt}}</p>
|
||||
<p>{{post.templateContent | createExcerpt}}</p>
|
||||
|
||||
<a href="{{post.url}}">
|
||||
Weiterlesen</a>
|
||||
</article>
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
<a class="button" href="{{post.url}}">
|
||||
Weiterlesen
|
||||
</a>
|
||||
</article>
|
||||
{%- endfor -%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue