{{/* mirrors --color-background */}} {{- /* An untitled post is named by its # entry mark */}} {{- $title := .Site.Title }} {{- if not .IsHome }}{{ with .Title }}{{ $title = . }}{{ else }}{{ $title = printf "# %s" (partialCached "entry-no.html" $ $.RelPermalink) }}{{ end }}{{ end }} {{- /* A page's own description, else a post's summary, else the site's */}} {{- $description := .Description }} {{- if and (not $description) .IsPage }}{{ $description = partial "post-summary.html" . | plainify }}{{ end }} {{- $description = $description | default .Site.Params.about }} {{- $post := and .IsPage (eq .Section "posts") }}