2024-07-02 22:03:13 +00:00
|
|
|
{{ define "main" }}
|
|
|
|
<ul id="posts">
|
|
|
|
{{ $paginator := .Paginate (where site.Pages "Type" "weekly") 6 }}
|
|
|
|
{{ range $paginator.Pages }}
|
|
|
|
{{ if not .Params.issuenumber }}
|
|
|
|
{{ continue }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<li class="post">
|
|
|
|
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
|
|
|
|
<time class="by-line">{{ .Date.Format .Site.Params.dateFormat }}</time>
|
|
|
|
<a href="{{ .RelPermalink }}">
|
2024-08-07 06:39:04 +00:00
|
|
|
{{ $image := .Resources.Get "cover.png" }}
|
|
|
|
{{ $image := $image.Resize "650x" }}
|
|
|
|
{{ with $image }}
|
|
|
|
<img class="img-lead" src="{{ $image.RelPermalink }}" alt="Revuo Monero Weekly #{{ .Params.issuenumber }} cover">
|
|
|
|
{{ end }}
|
2024-07-02 22:03:13 +00:00
|
|
|
</a>
|
|
|
|
|
|
|
|
{{ $sTitle := split .Params.title ":" }}
|
|
|
|
<p>{{ site.Title }} Weekly: {{ index $sTitle 1 }}</p>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
{{ partial "pagination.html" . }}
|
|
|
|
{{ end }}
|