mykiwi/mykiwi.blogpublic Fork 0
a74fe0a29252e8de5b737ff5cf56888380055981
Commits
Clone
git clone https://git.rickub.com/mykiwi/mykiwi.blog.git
git clone ssh://git@rickub.com/mykiwi/mykiwi.blog.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

list.html · 27 lines · 841 BHTML Blame HistoryRaw
Port fzakaria.com design to Hugo and add a homepage profile 1bdbd06 Romain Gautier 21h ago1{{ define "main" }}
2{{ $years := .Pages.GroupByDate "2006" }}
3<div class="page-index column">
4 <header class="post-header rise">
5 <h1 class="post-title">{{ .Title }}</h1>
6 <hr class="post-rule">
7 </header>
8 <div class="index-body">
9 {{ range $i, $year := $years }}
10 <section class="year rise" style="--i: {{ add $i 1 }}">
11 <h2 class="year__label">
12 {{ $year.Key }}
Add French/Portuguese/Japanese support, block indexing until launch f8c7bc5 Romain Gautier 17h ago13 <span class="count">{{ i18n "postsCount" (dict "Count" (len $year.Pages)) }}</span>
Port fzakaria.com design to Hugo and add a homepage profile 1bdbd06 Romain Gautier 21h ago14 </h2>
15 <ul class="year__list">
16 {{ range $year.Pages }}
17 <li class="entry">
18 <span class="date">{{ .Date.Format "Jan 02" }}</span>
19 <a href="{{ .RelPermalink }}">{{ .Title }}</a>
20 </li>
21 {{ end }}
22 </ul>
23 </section>
24 {{ end }}
25 </div>
26</div>
27{{ end }}