This repository has been archived on 2021-09-01. You can view files and clone it, but cannot push or open issues or pull requests.
theme-geeklab/layouts/_default/list.html

43 lines
1.4 KiB
HTML

{{ define "main" }}
<main class="content" role="main">
{{ $paginator := .Paginate (where .Pages "Type" "post") }}
{{ range $paginator.Pages }}
<article class="blog-entry">
<!-- this <div> includes the title summary -->
<header>
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
</header>
<div class="entry-body">
{{ .Summary }}
{{ if .Truncated }}
<div>
<br><a class="read_more block_level" title="Lese den kompletten Artikel" href="{{ .RelPermalink }}">Weiterlesen </a>
</div>
{{ end }}
</div>
<footer>
<span class="break-wordwrap outline">
<i class="fa fa-calendar"></i>
</span>
{{ with .Param "authors" }}
<span class="single_user break-wordwrap outline">
<i class="fa fa-user"></i> <a href="{{ "authors" | relURL }}/{{ . | urlize }}" title="Alle Artikel des Autors">{{ . }}</a>
</span>
{{ end }}
<span class="outline">
<span class="break-wordwrap">
<i class='fa fa-tags'></i>
<a href="" title="Alle Artikel in ''"></a>
</span>
</span>
</footer>
</article>
{{ end }}
{{ partial "pagination.html" . }}
</main>
{{ end }}