From 9a09600c37ea6672bfe36acc55722544d3972e78 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Thu, 8 Aug 2024 10:24:16 -1000 Subject: [PATCH] Layouts: A base template override that includes the commandbar scripts --- layouts/_default/baseof.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 layouts/_default/baseof.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..348a453 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,25 @@ + + + + {{ partial "base/head.html" . }} + {{ block "head_css" . }}{{ end }} + + + +
+ {{ block "main" . }}{{ end }} +
+ {{ partial "site/footer.html" . }} +
+
+ + {{ partial "commandbar/template.html" . }} + {{ partial "commandbar/script.html" }} + {{ partial "resource_builders/script.html" (dict "resource" "js/commands.js") }} + {{ if .HasShortcode "railroad-diagram" }} + {{ partial "resource_builders/script.html" (dict "resource" "js/railroad/railroad.js")}} + {{ end }} + +