~taavi/taavi.wtf

ref: 62d7c2e891bcbb880c5b9ad1d97d7be93c43d2bb taavi.wtf/themes/castor/layouts/shortcodes/latest-blog.html -rw-r--r-- 291 bytes
62d7c2e8Taavi Väänänen add latest blog archive to front page 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{{ range first 1 (where site.Sections "Title" "Blog") }}
<p>
	My latest blog posts are:
</p>
<div>
	<ul>
		{{ range first 3 .Pages }}
		{{ partial "list-entry.html" . }}
		{{ end }}
	</ul>
</div>
<p>
	See also the <a href="/posts/">full blog archive</a>, including RSS feeds.
</p>
{{ end }}