{{ define "main" }} <article> <!-- post meta --> <h2 class="post-item post-title"> <a href="{{ .Permalink }}">{{ .Title }}</a> </h2> <div class="post-item post-meta"> {{ partial "post-meta.html" . }} </div> {{ with .Params.playerURL }} <div id="post-aplayer"></div> {{ end }} <!-- post main content --> <div class="post-content markdown-body"> {{ .Content }} </div> </article> <!-- post license --> {{ if and (.Site.Params.showLicense) (ne .Params.noLicense true) }} <div class="license markdown-body"> <blockquote> <p>{{ i18n "postCopyrightFront" }}<a rel="license" href="{{ .Site.Params.licenseLink }}" target="_blank">{{ .Site.Params.license }}</a>{{ i18n "postCopyrightEnd" }}</p> </blockquote> </div> {{ end }} {{ if .Site.Params.disqusJSApi }} {{ partial "comment-disqusjs.html" . }} {{ else if .Site.Params.disqusShortname }} {{ partial "comment-disqus.html" . }} {{ else if .Site.Params.utterancesRepo }} {{ partial "comment-utterances.html" . }} {{ else }}{{ end }} {{ end }}