aboutsummaryrefslogtreecommitdiff
path: root/layouts/index.html
blob: 6264619c678715cfed79329b566c0ebeb10a8dcc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{{ define "main" }}

<div class="home-header">
  <h1 class="home-header__text">{{ i18n "home_posts" }}</h1>
  <a class="btn btn--grey" href="/{{ .Lang }}/feed.atom">
    <img class="btn__img invert-dark" src="/img/feed.svg?v=1" title="{{ i18n "home_feed" }}" alt="{{ i18n "home_feed" }}" />
  </a>
</div>
<p class="nocss-helper"></p>

{{- range (where site.RegularPages "Type" "in" site.Params.mainSections) }}
<div class="post">
  <div class="post__date">{{ .Date.Format "2006-01-02" }}</div>
  <a href="{{ .RelPermalink }}">{{ .Title }}</a>
</div>
{{- end }}

{{ end }}