hugo-theme-cybercards/layouts/partials/content.html

21 lines
835 B
HTML

<header class="post-header card-header" id="cs-header">
{{ if .Title -}}
<h2 class="post-title" itemprop="name headline">{{ .Title }}</h2>
{{ if and (not .Params.nodate) .Date -}}
<p class="post-meta">
<time datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}'
itemprop="datePublished">{{ .Date.Format (i18n "dateFormat") }}</time>
{{ with .Params.Author -}} •
<span itemprop="author" itemscope
itemtype="http://schema.org/Person">
<span itemprop="name">{{ . }}</span></span>
{{- end }}
</p>
{{- end }}
{{- end }}
</header>
<div class="post-content card-body" itemprop="articleBody">
<div id="cs-info"></div>
<div id="cs-content">{{ .Content }}</div>
<div id="cs-debug" />
</div>