~gg/blog-theme

ref: e58dcc41038b5c49bb129503bb28c1c0c5745b75 blog-theme/layouts/partials/sidebar.html -rw-r--r-- 302 bytes
e58dcc41 — Gui Goncalves Add color scheme, noscript partial 7 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>