12 lines
314 B
HTML
12 lines
314 B
HTML
<!-- Use site subtitle by default -->
|
|
{{ $description := .Site.Params.subtitle }}
|
|
|
|
{{ if .Description }}
|
|
<!-- Page description exists -->
|
|
{{ $description = .Description }}
|
|
{{ else if .IsPage }}
|
|
<!-- Use page summary -->
|
|
{{ $description = .Summary }}
|
|
{{ end }}
|
|
|
|
{{ return ($description | plainify)}} |