~gg/blog-theme

ref: 4b83cd0f339293fe804bea3646555a230bc13f62 blog-theme/layouts/partials/sidebar.html -rw-r--r-- 271 bytes
4b83cd0f — vimux Update demosite 9 months ago
                                                                                
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>