Αυτό το commit περιλαμβάνεται σε:
Fanis Dokianakis 2024-02-09 10:59:47 +02:00
γονέας 954260ab0b
commit d7ba6aedc6
28 αρχεία άλλαξαν με 0 προσθήκες και 1020 διαγραφές

@ -1,42 +0,0 @@
{{ partial "head.html" . }}
{{ partial "header.html" . }}
<!-- Main View -->
{{.Content}}
<!-- Articles Section -->
{{ $counter := 0 }}
{{ $pages := .Site.RegularPages }}
{{ $recentpostlimit := (sub now.Unix 2592000 ) }}
{{ range first 5 $pages }}
{{ $counter = add $counter 1 }}
{{ if eq $counter 1 }}
<!-- First Post -->
<h3>
<a href="{{.Permalink}}">{{ .Title }}</a> {{ dateFormat "02/01/2006" .Date }} {{ if lt $recentpostlimit .Date.Unix }}Nέο
{{ end }}
</h3>
<p>{{ .Summary | plainify | safeHTML }}</p>
<!-- First Post End -->
{{ else }}
<h3><a href="{{.Permalink}}">{{ .Title }}</a>
{{ dateFormat "02/01/2006" .Date }}
{{ if lt $recentpostlimit .Date.Unix }}
ο {{ end }}</h3>
<p>{{ .Summary }}</p>
{{ end}}
{{ end }}
<!-- End Articles Section -->
<!-- Column 2 start -->
{{ partial "column2.html" . }}
<!-- Column 2 end -->
<!-- Footer Start -->
{{ partial "footer.html" . }}
<!-- Footer End -->