* intégration de "previous page/next page" (single.html)

* mise en commentaire du breadcrumb
* dans config : removePathAccents
* mise en commentaire XMPP
* CSS : typo des liens, taille nav, taille du titre
This commit is contained in:
yv_pic
2021-01-23 17:03:05 +01:00
parent 19ab352db9
commit 1898364ee5
4 changed files with 31 additions and 14 deletions

View File

@@ -19,7 +19,26 @@
{{ else }}
{{ .Content }}
{{ end }}
{{ partial "breadcrumbs.html" . }}
{{ if or (.PrevInSection) (.NextInSection) }}
<div class="next-prev">
<hr>
<div class="g-two-up">
{{with .PrevInSection }}
<div>
<h3>Previous</h3>
<p><a href=" {{ .Permalink }}">{{ .Title | safeHTML }}</a></p>
</div>
{{ end }}
{{with .NextInSection }}
<div>
<h3>Next</h3>
<p><a href=" {{ .Permalink }}">{{ .Title | safeHTML }}</a></p>
</div>
{{ end }}
</div>
</div>
{{ end }}
{{/* partial "breadcrumbs.html" . */}}
</article>
</main>
{{ end }}