From 60d3abc6ecdc21b4ab921d34a55b4af48690f55a Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 11 Mar 2021 18:53:14 +0100 Subject: Rewrote the whole website to get rid on a heavy theme --- layouts/partials/footer.html | 5 +++++ layouts/partials/nav.html | 19 +++++++++++++++++++ layouts/partials/pagination.html | 20 ++++++++++++++++++++ layouts/partials/toc.html | 7 +++++++ 4 files changed, 51 insertions(+) create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/nav.html create mode 100644 layouts/partials/pagination.html create mode 100644 layouts/partials/toc.html (limited to 'layouts/partials') diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..eeadb61 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,5 @@ + diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html new file mode 100644 index 0000000..f6bf6c9 --- /dev/null +++ b/layouts/partials/nav.html @@ -0,0 +1,19 @@ +
+
diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html new file mode 100644 index 0000000..7220408 --- /dev/null +++ b/layouts/partials/pagination.html @@ -0,0 +1,20 @@ +{{- $pag := $.Paginator -}} +{{- if gt $pag.TotalPages 1 -}} + +{{ end }} diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html new file mode 100644 index 0000000..1846f7a --- /dev/null +++ b/layouts/partials/toc.html @@ -0,0 +1,7 @@ +{{ if (gt .WordCount 100 ) }} + +{{ end }} -- cgit v1.2.3