aboutsummaryrefslogtreecommitdiff
path: root/themes/flamingo/layouts/partials/sidebar.html
blob: 92bbd807edfad014bbaf2319b16c1d8aefb585c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<aside>
	<div>
		<div>
			<h3>LATEST POSTS</h3>
		</div>
		<div>
			<ul>
				{{ range first 5 (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
				<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
				{{ end }}
			</ul>
		</div>
	</div>
</aside>