aboutsummaryrefslogtreecommitdiff
path: root/users/fcuny/notes/layouts/_default
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-28 19:50:38 -0700
committerFranck Cuny <franck@fcuny.net>2022-03-28 19:50:38 -0700
commit5483be5a93faac53c2319696e1d024fd049b8a09 (patch)
treee1ad0e84de062d9cebc2ffd43127dd11b553ffb4 /users/fcuny/notes/layouts/_default
parentnote: update list of chipset for alder lake (diff)
downloadinfra-5483be5a93faac53c2319696e1d024fd049b8a09.tar.gz
convert blog to notes
Separating the two sites so I can customize them differently.
Diffstat (limited to 'users/fcuny/notes/layouts/_default')
-rw-r--r--users/fcuny/notes/layouts/_default/baseof.html1
-rw-r--r--users/fcuny/notes/layouts/_default/single.html14
2 files changed, 1 insertions, 14 deletions
diff --git a/users/fcuny/notes/layouts/_default/baseof.html b/users/fcuny/notes/layouts/_default/baseof.html
index 0c72fb1..410e2bc 100644
--- a/users/fcuny/notes/layouts/_default/baseof.html
+++ b/users/fcuny/notes/layouts/_default/baseof.html
@@ -6,5 +6,6 @@
<main>
{{ block "main" . }}{{ end }}
</main>
+ {{- partial "footer.html" . -}}
</body>
</html>
diff --git a/users/fcuny/notes/layouts/_default/single.html b/users/fcuny/notes/layouts/_default/single.html
index 7a85a05..7f594ad 100644
--- a/users/fcuny/notes/layouts/_default/single.html
+++ b/users/fcuny/notes/layouts/_default/single.html
@@ -31,24 +31,10 @@
{{ end }}
</div>
-{{ if .Params.toc }}
-<div id="toc_small">
- <summary>Table of contents</summary>
- {{ .TableOfContents }}
-</div>
-{{ end }}
-
<article>
{{ .Content }}
</article>
</div>
-{{ if .Params.toc }}
-<div id="toc">
- <strong>Table of contents</strong>
- {{ .TableOfContents }}
-</div>
-{{ end }}
-
{{ end }}