| Rev | Line | |
|---|
| [16971] | 1 | {{ define "main" }} |
|---|
| 2 | <div class="article-wrapper u-cf single"> |
|---|
| 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" "single") }} |
|---|
| 5 | {{ else }} |
|---|
| 6 | {{ partial "content-type/article.html" (dict "ctx" . "template_type" "single") }} |
|---|
| 7 | {{ end }} |
|---|
| 8 | </div> |
|---|
| 9 | |
|---|
| 10 | {{ if ( .Params.showComments | default true ) }} |
|---|
| 11 | <div id="comments-container"> |
|---|
| 12 | {{ template "_internal/disqus.html" . }} |
|---|
| 13 | {{ partial "commento.html" . }} |
|---|
| 14 | {{ partial "giscus.html" . }} |
|---|
| 15 | {{ partial "utterances.html" . }} |
|---|
| 16 | </div> |
|---|
| 17 | {{ end }} |
|---|
| 18 | {{ end }} |
|---|
Note: See
TracBrowser for help on using the repository browser.