source: tanzpartie-hugo/themes/bilberry-hugo-theme/layouts/partials/article-wrapper.html @ 17208

Last change on this file since 17208 was 16971, checked in by Henrik Bettermann, 2 years ago
File size: 496 bytes
RevLine 
[16971]1{{ with . }}
2    <div class="article-wrapper u-cf">
3        {{ if or (fileExists (print "layouts/partials/content-type/" .Type ".html") ) (fileExists (print "themes/bilberry-hugo-theme/layouts/partials/content-type/" .Type ".html")) }}
4            {{ partial (print "content-type/" .Type ".html") (dict "ctx" . "template_type" "multiple") }}
5        {{ else }}
6            {{ partial "content-type/article.html" (dict "ctx" . "template_type" "multiple") }}
7        {{ end }}
8    </div>
9{{ end }}
Note: See TracBrowser for help on using the repository browser.