Skip to content
Snippets Groups Projects
list.html 274 B
Newer Older
alexisben's avatar
alexisben committed
{{ define "main" }}
Arnaud Levy's avatar
Arnaud Levy committed
  {{ if eq .File.Path "programs/_index.html" }}
alexisben's avatar
alexisben committed
    {{ partial "programs/hero.html" . }}
alexisben's avatar
alexisben committed
    {{ partial "programs/list.html" . }}
Arnaud Levy's avatar
Arnaud Levy committed
{{ else }}
    {{ partial "programs/hero-single.html" . }}
    {{ partial "programs/single.html" . }}
alexisben's avatar
alexisben committed
  {{ end }}
{{ end }}