diff options
Diffstat (limited to 'views/partials')
| -rw-r--r-- | views/partials/head.ejs | 14 | ||||
| -rw-r--r-- | views/partials/header.ejs | 12 | ||||
| -rw-r--r-- | views/partials/navbar.ejs | 7 |
3 files changed, 20 insertions, 13 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> + <% } %> +<% } %> diff --git a/views/partials/header.ejs b/views/partials/header.ejs deleted file mode 100644 index bd11ce0..0000000 --- a/views/partials/header.ejs +++ /dev/null @@ -1,12 +0,0 @@ -<pre class="website-name"> - -<!-- -██╗ ███╗ ███╗██████╗ ██╗███████╗██╗ ██╗ ██████╗ ██████╗ -██║ ████╗ ████║██╔══██╗██║██╔════╝██║ ██║██╔═══██╗██╔══██╗ -██║ ██╔████╔██║██████╔╝██║███████╗███████║██║ ██║██████╔╝ -██║ ██║╚██╔╝██║██╔══██╗██║╚════██║██╔══██║██║ ██║██╔═══╝ -███████╗██║ ╚═╝ ██║██████╔╝██║███████║██║ ██║╚██████╔╝██║ -╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ - - --> -</pre> diff --git a/views/partials/navbar.ejs b/views/partials/navbar.ejs index ff0c84d..3dbeb6a 100644 --- a/views/partials/navbar.ejs +++ b/views/partials/navbar.ejs @@ -1,3 +1,8 @@ <div id="navbar"> - <%- navbar %> + <h2>Leonardo Bishop</h2> + <a href="/">home</a> + <a href="/now">now</a> + <a href="/blog">blog</a> + <!-- <a href="/spotify">spotify</a> --> + <a href="/contact">contact</a> </div> |
