forked from tsc-vfl/hugo-page
Clean up archive layout
This commit is contained in:
parent
6710562ea7
commit
19d939edd2
@ -25,39 +25,5 @@
|
||||
[<a href="#top">Zurück</a>]
|
||||
</div>
|
||||
{{ end }}
|
||||
<!-- <div class="news-blog">
|
||||
{{ range (.Paginate (first 30 ( where .Site.RegularPages "Section" "==" "news")) 10 ).Pages }}
|
||||
{{ $urlBlogEntry := .RelPermalink}}
|
||||
<div class="blog-entry">
|
||||
<div class="header">
|
||||
{{ .Date.Format "02.01.2006" }}
|
||||
<a href="{{ $urlBlogEntry }}">{{ .Title }}</a>
|
||||
</div>
|
||||
<div class="details">
|
||||
<div class="teaser-image">
|
||||
{{ $page := . }}
|
||||
{{ if .Params.Image }}
|
||||
{{ with (.Resources.GetMatch (.Params.Image)).Fit "290x190 webp" }}
|
||||
<a href="{{ $urlBlogEntry }}">
|
||||
<img src="{{ .RelPermalink }}">
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="right-side">
|
||||
<div class="intro">
|
||||
{{ with .Summary }}
|
||||
{{ . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="more"><a href="{{ $urlBlogEntry }}">MEHR...</a></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ template "_internal/pagination.html" . }}
|
||||
</div>
|
||||
{{ .Content }} -->
|
||||
{{ partial "totop" }}
|
||||
{{ end }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user