website

Repositório website
git clone git://git.sivaldodavi.com/website.git
Log | Files | Refs

list.html (888B)


      1 {{ partial "header.html" . -}}
      2 
      3 <main>
      4     <section class="post-body">
      5         <a class="back-link" href="/">← voltar</a>
      6 
      7         <h1 class="page-title">{{ .Title | title }}</h1>
      8 
      9         <ul class="recent-posts">
     10             {{ range .RegularPages.ByDate.Reverse }}
     11             <li>
     12                 <span class="recent-post-left">
     13                     <a href="{{ .Permalink }}">{{ .Title }}</a>
     14                     {{ with .Params.tags }}{{ range . }}
     15                     <a href="{{ "/tags/" | relURL }}{{ . | urlize }}/" class="post-tag">{{ . }}</a>
     16                     {{ end }}{{ end }}
     17                 </span>
     18                 {{ with .Params.date }}
     19                 <span class="recent-post-date">{{ . | time | dateFormat "2006-01-02" }}</span>
     20                 {{ end }}
     21             </li>
     22             {{ end }}
     23         </ul>
     24     </section>
     25 </main>
     26 
     27 {{ partial "footer.html" . }}