hackertours-theme/layouts/index.html

16 lines
374 B
HTML

{{ define "title" }}{{ .Site.Title }}{{ end }}
{{ define "meta" }}
{{- partial "section_meta.html" . -}}
{{- partial "single_meta.html" . -}}
{{ end }}
{{ define "main" -}}
<main class="layout__content" role="main">
<article class="{{ with .Section }}section-{{ . | urlize }} {{ end }}single-view">
<div class="content">
{{ .Content }}
</div>
</article>
</main>
{{ end }}