{{- /* footer.html (partial): Defines the footer HTML structure for Alpha. Features: - Site copyright with year - Footer menu and social footer menu - Site params defined motto - Site params enabled visitor settings Repo: https://github.com/oxypteros/alpha */ -}} {{- /* Conditional calculation of year range */}} {{- $currentYear := dateFormat "2006" now }} {{- $estYear := default $currentYear .Site.Params.established_year }} {{- $shortYear := dateFormat "06" now }} {{- $yearDisplay := cond (eq $estYear $currentYear) (string $currentYear) (printf "%v-%v" $estYear $shortYear) }}