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: ba0f97e83fc568016cda13d07ad114686771b8eb (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 mt-12 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 class="artitle__title"><a href="{{.Permalink}}">{{ .Title }}</a></h1>

        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 pages with tag {{$name}}" class="no-underline">
              {{$name}} <sup>{{$cnt}}</sup>
            </a>
          {{end}}
        {{end}}

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