{{ define "main" }}

{{ .Site.Params.bio }}

Find me on {{- range $i, $s := .Site.Params.social -}} {{- if $i }},{{ end }} {{ $s.name }} {{- end -}}.

{{- $posts := where .Site.RegularPages "Section" "posts" -}} {{- if $posts }}

Recent Writing

All posts →
{{- end }} {{- if .Site.Params.projects }}

Featured Projects

All projects →
{{- range first 4 .Site.Params.projects }}

{{- if eq .url "#" -}} {{ .name }} {{- else -}} {{ .name }} ↗ {{- end -}}

{{- with .article }} writeup ↗ {{- end }}

{{ .description }}

{{- with .tags }}
{{- range . }} {{ . }} {{- end }}
{{- end }}
{{- end }}
{{- end }} {{ end }}