Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/tastaturtier/someparts-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/part/list.html')
-rw-r--r--layouts/part/list.html29
1 files changed, 1 insertions, 28 deletions
diff --git a/layouts/part/list.html b/layouts/part/list.html
index 497898a..9bf6d8c 100644
--- a/layouts/part/list.html
+++ b/layouts/part/list.html
@@ -1,33 +1,6 @@
{{- define "main" -}}
-<h1>{{ .Title | markdownify }}</h1>
-<p><a href="../">{{ .Site.Params.title | markdownify }}</a>, {{ .Params.id | markdownify }}</p>
-<p><em>{{ .Params.subtitle | markdownify }}</em></p>
-<hr/>
-<div class="container">
- <div class="row">
- <div class="col-sm-9">
- {{ with .Params.description }}
- {{ . | markdownify }}
- {{ end }}
- {{ with .Params.link }}
- <nav class="nav flex-column">
- <a href="{{ .url }}"><i class='fa fa-bookmark' aria-hidden='true'></i> {{ .linktext | markdownify }}</a>
- </nav>
- {{ end }}
- </div>
- {{ with .Params.cover }}
- <div class="col-sm-3">
- <p>{{ if .link }}<a href="{{ .link }}">{{ end }}<img src="{{ .img }}" alt="Cover" />{{ if .link }}</a>{{ end }}</p>
- </div>
- {{ end }}
- </div>
-</div>
-{{ if .Content }}
-<hr/>
-{{ end }}
-{{ .Content }}
-
+{{ partial "part.html" . }}
{{ if .Pages }}
<hr/>
{{ end }}