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
|
|
|
|
|
|
|
{{ if .Description }}
|
|
|
|
<!-- Page description exists -->
|
|
|
|
{{ $description = .Description }}
|
|
|
|
{{ else if .IsPage }}
|
|
|
|
<!-- Use page summary -->
|
|
|
|
{{ $description = .Summary }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ return ($description | plainify)}}
|