2020-09-11 17:00:19 -04:00
|
|
|
<!-- Use site subtitle by default -->
|
2020-09-11 17:04:26 -04:00
|
|
|
{{ $description := .Site.Params.sidebar.subtitle }}
|
2020-09-11 17:00:19 -04:00
|
|
|
|
2022-10-22 05:56:38 -04:00
|
|
|
<!-- Seprate description exists -->
|
|
|
|
{{ if .Site.Params.description }}
|
|
|
|
{{ $description = .Site.Params.description }}
|
|
|
|
{{ end }}
|
|
|
|
|
2020-09-11 17:00:19 -04:00
|
|
|
{{ if .Description }}
|
|
|
|
<!-- Page description exists -->
|
|
|
|
{{ $description = .Description }}
|
|
|
|
{{ else if .IsPage }}
|
|
|
|
<!-- Use page summary -->
|
|
|
|
{{ $description = .Summary }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ return ($description | plainify)}}
|