* 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:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user