diff options
Diffstat (limited to 'layouts/partials/data/description.html')
-rw-r--r-- | layouts/partials/data/description.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/partials/data/description.html b/layouts/partials/data/description.html new file mode 100644 index 0000000..5531ab5 --- /dev/null +++ b/layouts/partials/data/description.html @@ -0,0 +1,11 @@ +{{- with .Description -}} + {{- . -}} +{{- else -}} + {{- if .IsPage -}} + {{- .Summary -}} + {{- else -}} + {{- with .Site.Params.subtitle -}} + {{- . -}} + {{- end -}} + {{- end -}} +{{- end -}}
\ No newline at end of file |