parent
05a15b70bb
commit
979335fef0
951 changed files with 11214 additions and 15 deletions
35
layouts/index.html
Normal file
35
layouts/index.html
Normal file
|
@ -0,0 +1,35 @@
|
|||
{{ define "main" }}
|
||||
<div class="row">
|
||||
<div class="ten columns offset-by-one last-posts">
|
||||
{{ .Content }}
|
||||
<hr>
|
||||
<h4>Neueste Blogposts:</h4>
|
||||
</div>
|
||||
</div>
|
||||
<section>
|
||||
{{- range first 3 (where site.RegularPages "Type" "in" site.Params.mainSections) }}
|
||||
<div class="row">
|
||||
<div class="ten columns offset-by-one post-preview">
|
||||
<a href="{{ .Permalink }}" rel="bookmark"
|
||||
title="Permalink to {{ htmlEscape .Title }}">
|
||||
<h2>{{ .Title }}</h2>
|
||||
<h4>{{ .Summary }}...</h4>
|
||||
</a>
|
||||
<p class="post-meta"Unsere Projekte>
|
||||
Veröffentlicht {{ if isset .Params "author" }}von {{ .Params.author }} {{end}}am {{ dateFormat "Monday, 2. January 2006" .Date }}
|
||||
</p>
|
||||
<hr>
|
||||
</div>
|
||||
</div>
|
||||
{{- end }}
|
||||
</section>
|
||||
<div class="row">
|
||||
<div class="ten columns offset-by-one">
|
||||
<ul class="pager">
|
||||
<li class="next u-pull-right">
|
||||
<a href="./blog/" class="button">Archiv →</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue