From 1d709dcd49d52af3cf7664001b338f8b9d366328 Mon Sep 17 00:00:00 2001 From: Keyemail Date: Sat, 6 Jul 2024 05:44:28 -0700 Subject: [PATCH] Added scripts --- src/index.tmpl | 1 + src/pages/home.tmpl | 1 + src/scripts/main.js | 1 + 3 files changed, 3 insertions(+) create mode 100644 src/scripts/main.js diff --git a/src/index.tmpl b/src/index.tmpl index 1e0e638..d8c16f0 100644 --- a/src/index.tmpl +++ b/src/index.tmpl @@ -12,6 +12,7 @@ {{ template "navbar" . }} {{ template "body" . }} {{ template "footer" . }} + {{ end }} diff --git a/src/pages/home.tmpl b/src/pages/home.tmpl index 51d1b78..bce9cf6 100644 --- a/src/pages/home.tmpl +++ b/src/pages/home.tmpl @@ -8,5 +8,6 @@

Home page!

+ {{ end }} diff --git a/src/scripts/main.js b/src/scripts/main.js new file mode 100644 index 0000000..accefce --- /dev/null +++ b/src/scripts/main.js @@ -0,0 +1 @@ +console.log("Hello World");