mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-25 20:56:43 +00:00
23 lines
479 B
HTML
23 lines
479 B
HTML
{{ define "main" }}
|
|
{{ range sort .Paginator.Pages }}
|
|
<article class="markdown book-post">
|
|
<h2>
|
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
|
</h2>
|
|
{{ partial "docs/post-meta" . }}
|
|
<p>
|
|
{{- .Summary -}}
|
|
{{ if .Truncated }}
|
|
<a href="{{ .RelPermalink }}">...</a>
|
|
{{ end }}
|
|
</p>
|
|
</article>
|
|
{{ end }}
|
|
|
|
{{ template "_internal/pagination.html" . }}
|
|
{{ end }}
|
|
|
|
{{ define "toc" }}
|
|
{{ partial "docs/taxonomy" . }}
|
|
{{ end }}
|