{{ partial "intro.html" }}
    {{- $posts := where .Site.RegularPages "Section" "in" (slice "posts" "bookmarks" "poetry" "reviews") -}} {{- range $posts.ByDate.Reverse | first 6 -}} {{- $postType := partial "post-type.txt" . -}} {{- $typeSVG := index .Site.Params.defaultSVG ( partial "kebab.txt" ($postType | singularize)) -}}
  1. {{ partialCached "svg.html" (dict "name" $typeSVG) $typeSVG }} {{- with .Title -}}{{ . }}{{ else }}{{ .Type | singularize | title }}{{ end -}}
    {{ $postType }} {{ partial "year-relative-date.html" .Date }}
    {{- index (split .Summary "\n") 0 | safeHTML -}}
  2. {{- end -}}

{{ partialCached "svg.html" (dict "name" "document") "document" }} Check out all my longer posts, or read through my thoughts on others' writing.

{{- $upcomingEvents := partial "upcoming-events.obj" }} {{ if ge (len $upcomingEvents) 2 }}

{{ partialCached "svg.html" (dict "name" "calendar") "calendar" }} Maybe you'll see me at {{ (index $upcomingEvents 0).Title }} on {{ partial "year-relative-date.html" (index $upcomingEvents 0).Date }}, or {{ (index $upcomingEvents 1).Title }} on {{ partial "year-relative-date.html" (index $upcomingEvents 1).Date }}. Get in touch if you'd like to go to these, or any other events, together!

{{ end }}
{{- $picPage := index (where .Site.RegularPages "Section" "eq" "photos") 0 -}} {{- with $picPage -}}
{{ partialCached "svg.html" (dict "name" "camera") "camera" }} {{ partial "year-relative-date.html" .Date }}
{{- $src := index $picPage.Params.Media 0 -}}
{{- $shortSummary := index (split .Summary "

") 0 -}} {{- $shortSummary | plainify | htmlUnescape | strings.TrimSpace }} 
{{- end -}} {{- with (partial "latest-non-reply-note.obj") -}}
{{ partialCached "svg.html" (dict "name" "message") "message" }} {{ partial "year-relative-date.html" .Date }}
{{ .Content}}
{{- end -}}