diff options
| -rw-r--r-- | layouts/partials/description.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/description.html b/layouts/partials/description.html index b2100a8..41793a7 100644 --- a/layouts/partials/description.html +++ b/layouts/partials/description.html @@ -10,6 +10,10 @@ {{- else -}} {{- $description = print .Summary -}} {{- end -}} + + {{ if eq (len $description) 0 -}} + {{- $description = site.Params.Description -}} + {{ end -}} {{- end -}} {{- /* Meta descriptions can technically be any length, but Google generally |
