aboutsummaryrefslogtreecommitdiffstats
path: root/views/partials/head.ejs
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2023-08-05 21:11:48 +0100
committerLeonardo Bishop <me@leonardobishop.com>2023-08-05 21:11:48 +0100
commit18cc5f69129615850e48a995f7c3406b74d8d2f4 (patch)
tree1fdc6eadae4b0a6da69319f9b6733379ced2e4c2 /views/partials/head.ejs
parent64c36dcef8ab1c0b985d79da627cecd30fd50336 (diff)
Redesign website
Diffstat (limited to 'views/partials/head.ejs')
-rw-r--r--views/partials/head.ejs14
1 files changed, 14 insertions, 0 deletions
diff --git a/views/partials/head.ejs b/views/partials/head.ejs
new file mode 100644
index 0000000..d66fe97
--- /dev/null
+++ b/views/partials/head.ejs
@@ -0,0 +1,14 @@
+<title>Leonardo Bishop</title>
+<link rel="stylesheet" href="/css/globalstyles.css">
+
+<% if (typeof stylesheets == 'object') { %>
+ <% for (const sheet of stylesheets) { %>
+<link rel="stylesheet" href="<%= sheet %>">
+ <% } %>
+<% } %>
+
+<% if (typeof scripts == 'object') { %>
+ <% for (const script of scripts) { %>
+<script src="<%= script %>"></script>
+ <% } %>
+<% } %>