{{- $isStandalone := false -}} {{- if and (ne .Permalink .Site.BaseURL) (ne .RelPermalink "/") -}} {{- $isStandalone = true -}} {{- end -}} {{- if $isStandalone -}}

Posts

These are all of my posts, sorted by date (newest first).

{{- else -}}

Posts

Here’s a selection of my best posts, in featured order. To see the rest, visit my Posts page.

{{- end }}

I edit some of these posts quite often; some are updated indefinitely. Check the “updated” timestamps.

Timestamp format: YYYY-MM-DD, as per RFC 3339 and ISO 8601

    {{- $posts := (where site.RegularPages "Section" "posts") -}} {{- if not $isStandalone -}} {{- $posts = sort (where $posts "Params.featured" ">" 0) "Params.featured" -}} {{- end -}} {{- range $posts -}} {{- $canonicalRelPermalink := .RelPermalink | replaceRE "^/~seirdy/" "/" -}}
  1. {{ if $isStandalone -}}

    {{ if $isStandalone -}}

    {{- else -}} {{- end }} Posted {{- if lt .Date .Lastmod -}} , updated {{ .Lastmod.Format "2006-01-02" }} {{- end }}

    {{ .Description }}

    {{- partial "wordcount.html" . -}}

  2. {{- end }}
{{ if $isStandalone -}}
{{ else -}} {{ end }}