First version of the theme
This commit is contained in:
commit
8dd30f6eb8
61 changed files with 1658 additions and 0 deletions
28
layouts/_default/list.html
Normal file
28
layouts/_default/list.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
{{ partial "header.html" . }}
|
||||
<body>
|
||||
<main class="wrapper">
|
||||
{{ partial "navigation.html" . }}
|
||||
|
||||
<section id="blog-list" class="container liste">
|
||||
<article>
|
||||
<header>
|
||||
<h1 class="list-title">
|
||||
{{ if eq .Kind "taxonomy" }}
|
||||
{{ i18n .Data.Plural 1 | title }}: {{ .Title }}
|
||||
{{ else if eq .Kind "taxonomyTerm" }}
|
||||
{{ i18n .Data.Plural | title }}
|
||||
{{ end }}
|
||||
</h1>
|
||||
</header>
|
||||
<ul class="articles-list">
|
||||
{{- range .Paginator.Pages -}}
|
||||
{{- .Render "li" -}}
|
||||
{{- end -}}
|
||||
</ul>
|
||||
</article>
|
||||
{{ .Content }}
|
||||
{{ partial "pagination.html" . }}
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue