Welcome to mirror list, hosted at ThFree Co, Russian Federation.

archives.html « _default « layouts - github.com/leonardofaria/bento.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9b8182d6adadb05061ec8a4a3ab518f0c9d447b8 (plain)
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
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#" lang="{{ .Site.LanguageCode }}">
  {{- partial "head.html" . -}}
  <body class="bg-gradient flex flex-col min-h-screen">
    {{- partial "header.html" . -}}
    <main class="flex-1 max-w-3xl mt-32 mx-auto text-gray-700 w-full">
      <div id="reading-progress-bar" role="presentation" class="fixed z-10 top-0 left-0 h-1 bg-gray-700"></div>
      <article class="article">
        <h1><a href="{{.Permalink}}" class="no-underline">{{ .Title }}</a></h1>

        <p class="intro">
          I like to talk about: 
          {{range $name, $taxonomy := .Site.Taxonomies.tags}} {{ $cnt := .Count }}
            {{ with $.Site.GetPage (printf "/tags/%s" $name) }}
              <a href={{ .RelPermalink }} title="All post with tag {{$name}} ({{$cnt}} posts)" class="no-underline">{{$name}}</a>&nbsp;
            {{end}}
          {{end}}
        </p>

        {{ range site.RegularPages.GroupByDate "2006" -}}
            {{ partial "post-summary.html" . }}
        {{ end }}
      </article>
    </main>
    {{- partial "footer.html" . -}}
  </body>
</html>