summaryrefslogtreecommitdiff
path: root/layouts/index.html
blob: 68284efdb16b2c987fa4e2dee5a1604ed67d5035 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{{ define "main" }}
  <main aria-role="main">
  <div class="homepage-content is-normal">
      {{.Content}}
  </div>
  <div>
    {{ range where (where .Site.RegularPages "Type" "blog") "File.Dir" "archive/" }}
        <article>
          <div>
            <h2><a class="title is-3" href="{{ .RelPermalink }}"><i class="fas fa-file"></i> {{ .Title }}</a></h2>
            <p></p>
          </div>
          <p>&nbsp
          </p>
          <p>
          {{ .Summary }}
          </p>
          {{ if .Truncated }}
          <div>
              <i class="fas fa fa-bookmark"></i><a class="is-italic" href="{{ .RelPermalink }}"> Read More…</a>
            </p>
          </div>
          {{ end }}
        </article>
    {{ end }}
  </div>
  </main>
{{ end }}