~mrls/essential

essential/layouts/index.html -rw-r--r-- 275 bytes
27db479cMauro Morales Add pic archetypes 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{ define "main" }}
<article>
  {{ partial "language.html" . }}
  <h1>{{ .Title }}</h1>
  {{ if isset .Params "subtitle" }}
  <h6>
    {{ .Params.Subtitle }}
  </h6>
  {{ end }}
  {{ partial "meta.html" . }}
  <hr>
  
  <div>
    {{ .Content }}
  </div>
</article>
{{ end }}