Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mmrath/hugo-bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/summary.content.html')
-rw-r--r--layouts/_default/summary.content.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/layouts/_default/summary.content.html b/layouts/_default/summary.content.html
index e0889b6..24a2091 100644
--- a/layouts/_default/summary.content.html
+++ b/layouts/_default/summary.content.html
@@ -1 +1,9 @@
-{{ partial "bloc/content/summary" . }}
+<p>
+ {{ if .IsPage }}
+ {{ if .Description }}
+ {{ .Description | markdownify }}
+ {{ else }}
+ {{ .Summary }}
+ {{ end }}
+ {{ end }}
+</p>