Skip to content
Snippets Groups Projects
single.html 919 B
Newer Older
alexisben's avatar
alexisben committed
{{ define "main" }}
  {{ partial "posts/hero-single.html" . }}

alexisben's avatar
alexisben committed
  <div class="document-content" itemscope itemtype="https://schema.org/NewsArticle">
alexisben's avatar
alexisben committed
    <meta itemprop="headline" content="{{ partial "PrepareHTML" .Title }}">
    <meta itemprop="url" content="{{ .Permalink }}">
    {{ if .Date }}<meta itemprop="datePublished" content="{{ .Date.Format "2006-01-02T15:04" }}">{{ end }}
alexisben's avatar
alexisben committed
    {{ if .Params.summary }}<meta itemprop="abstract" content="{{ partial "PrepareHTML" .Params.summary }}">{{ end }}
alexisben's avatar
alexisben committed
    {{ if .Summary }}<meta itemprop="description" content="{{ partial "PrepareHTML" .Summary }}">{{ end }}
alexisben's avatar
alexisben committed
    {{ partial "posts/sidebar.html" . }}
alexisben's avatar
alexisben committed

alexisben's avatar
alexisben committed
    {{ partial "posts/summary.html" (dict
alexisben's avatar
alexisben committed
        "context" .
        "block_wrapped" true
      ) }}

alexisben's avatar
alexisben committed
    {{ partial "blocks/list.html" . }}
alexisben's avatar
alexisben committed

alexisben's avatar
alexisben committed
    {{ partial "posts/prevnext.html" . }}
alexisben's avatar
alexisben committed

    {{ partial "hooks/before-document-content-end.html" . }}
alexisben's avatar
alexisben committed
  </div>
alexisben's avatar
alexisben committed
{{ end }}