13 lines
470 B
HTML
13 lines
470 B
HTML
{{ $announcements := partial "get-announcement-list" . }}
|
|
<div class="announcements">
|
|
{{ range $announcements }}
|
|
{{ $urlBlogEntry := .RelPermalink}}
|
|
<div class="entry">
|
|
<div class="time">
|
|
{{ (time.AsTime .Params.announcement.date).Format "02.01.2006" }}
|
|
</div>
|
|
<a href="{{ $urlBlogEntry }}">{{ with .Params.announcement.name }}{{.}}{{else}}{{.Title}}{{end}}</a>
|
|
</div>
|
|
{{ end }}
|
|
</div>
|