diff options
author | Eddie Webb <ollitech@gmail.com> | 2021-08-13 17:14:00 +0300 |
---|---|---|
committer | Eddie Webb <ollitech@gmail.com> | 2021-08-13 17:14:00 +0300 |
commit | 27c90420210aed57d9fe8da1ab639c2330db18af (patch) | |
tree | 3a0a95bf0499ee396b5bfcbe0088a9615ed585b3 | |
parent | 9a770927d572be0ad686ae4490de9b42143a637b (diff) |
fix exclusion of markdown in page lsitings
-rw-r--r-- | layouts/_default/section.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/_default/section.html b/layouts/_default/section.html index c453105..3d04314 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -13,7 +13,9 @@ <h2 id="{{ urlize .Title }}"><a href="{{ .Permalink }}">{{ .Title }}</a></h2> <p>{{ .Content }}</p> {{ range .Pages }} - {{ partial (printf "%s%s" .Type "Summary") . }} + {{ if ne .Type "markdown" }} + {{ partial (printf "%s%s" .Type "Summary") . }} + {{ end }} {{ end }} {{ end }} </div> |