aboutsummaryrefslogtreecommitdiffstats
path: root/views/partials/head.ejs
diff options
context:
space:
mode:
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>
+ <% } %>
+<% } %>