website

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

single.html (765B)


      1 {{ partial "header.html" . -}}
      2 
      3 <article class="post-body">
      4     <a class="back-link" href="/">← voltar</a>
      5 
      6     <header class="post-header">
      7         <h1>{{ .Title }}</h1>
      8         {{ with .Params.excerpt }}
      9         <p class="post-excerpt-lead">{{ . }}</p>
     10         {{ end }}
     11         {{ with .Date }}{{ if not .IsZero }}
     12         <p class="post-date">{{ .Format "02/01/2006" }}</p>
     13         {{ end }}{{ end }}
     14         {{ with .Params.tags }}
     15         <div class="post-tags-bar">
     16             {{ range . }}
     17             <a href="{{ "/tags/" | relURL }}{{ . | urlize }}/" class="post-tag">{{ . }}</a>
     18             {{ end }}
     19         </div>
     20         {{ end }}
     21     </header>
     22 
     23     <div class="content">
     24         {{ .Content }}
     25     </div>
     26 </article>
     27 
     28 {{ partial "footer.html" . }}