aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/head-description.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/head-description.html')
-rw-r--r--themes/default/layouts/partials/head-description.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/head-description.html b/themes/default/layouts/partials/head-description.html
new file mode 100644
index 0000000..89e4691
--- /dev/null
+++ b/themes/default/layouts/partials/head-description.html
@@ -0,0 +1,8 @@
+{{- if .Params.summary -}}
+ {{ .Params.summary }}
+{{- else if .Summary -}}
+ {{ .Summary }}
+{{- else -}}
+ {{- block "description" . -}}{{- end -}}
+ {{- partial "head-title.html" . -}}
+{{- end -}}