From 8497172bc16fafc90b4049996df8da9bc296c7cb Mon Sep 17 00:00:00 2001 From: stanislas Date: Sun, 23 Mar 2025 15:04:24 +0100 Subject: [PATCH] =?UTF-8?q?Suppression=20de=20la=20navigation=20entre=20le?= =?UTF-8?q?s=20pages=20via=20les=20articles=20pr=C3=A9c=C3=A9dents=20et=20?= =?UTF-8?q?suivants?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/_default/list.html | 1 - layouts/_default/single.html | 6 ++++++ themes/hugo-theme-techdoc | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 layouts/_default/single.html diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 85cb0ce..5837e50 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -2,5 +2,4 @@

{{ .Title }}

{{- .Content -}} {{- partial "edit-meta.html" . -}} -{{- partial "pagination.html" . -}} {{- end -}} \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..45f50e9 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,6 @@ +{{- define "main" -}} +

{{ .Title }}

+{{- partial "table-of-contents.html" . -}} +{{- .Content -}} +{{- partial "edit-meta.html" . -}} +{{- end -}} diff --git a/themes/hugo-theme-techdoc b/themes/hugo-theme-techdoc index 595a948..d4d6257 160000 --- a/themes/hugo-theme-techdoc +++ b/themes/hugo-theme-techdoc @@ -1 +1 @@ -Subproject commit 595a9485fa85822873e6c9ac738edfd6ba30413d +Subproject commit d4d62577b9df9014d79d44bff2c9a4fa89088dc4