c8bf719e3d
* Define the Base Template (baseof.html) * Use relative URL link to style.css file * Move summary.html from partials to _default layouts * Fix Hugo warnings (needs Hugo 0.20 or newer) * Fix Paginator rule on main page. Fix #8 * Latest posts: show pages from mainSections only * Bump Hugo 0.19 -> 0.20 * Formatting
14 lines
271 B
HTML
14 lines
271 B
HTML
<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>
|