src

Go monorepo.
git clone git://code.dwrz.net/src
Log | Files | Refs

main.gohtml (456B)


      1 {{ define "main" }}
      2   <main>
      3     {{ if eq .View "contact" }}
      4       {{ template "contact" . }}
      5     {{ else if eq .View "cv" }}
      6       {{ template "cv" . }}
      7     {{ else if eq .View "entry" }}
      8       {{ template "entry" . }}
      9     {{ else if eq .View "error" }}
     10       {{ template "error" . }}
     11     {{ else if eq .View "home" }}
     12       {{ template "home" . }}
     13     {{ else if eq .View "timeline" }}
     14       {{ template "timeline" . }}
     15     {{ end }}
     16   </main>
     17 {{ end }}