| Rev | Line | |
|---|
| [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.