{{ with .Site.GetPage "/education" }}

Education

{{ range sort (.Pages) "Params.end_date" "desc" }} {{ end }}
{{ .Title }} {{ with .Params.location}}{{ . }}{{ end }}
{{ with .Params.degree}}{{ . }}{{ end }} {{ with .Params.start_date }} {{ if le ( len (time.Format "January" .)) 4}} {{ time.Format "January 2006" . }} {{ else }} {{ time.Format "Jan. 2006" . }} {{ end }} {{ end }} – {{ with .Params.end_date }} {{ if le ( len (time.Format "January" .)) 4}} {{ time.Format "January 2006" . }} {{ else }} {{ time.Format "Jan. 2006" . }} {{ end }} {{ else }}{{ "Present" }} {{ end }}
{{ end }}