aboutsummaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-04-11 08:10:09 +0000
committerterminaldweller <thabogre@gmail.com>2021-04-11 08:10:09 +0000
commit64347c601fcb30904857e3ffc3b4d54a617b6441 (patch)
tree42e338c15dde925174e4313c623bdb2edaa67941 /views
parentadded a dockerfile. fixed the relative path issues (diff)
downloadblog-64347c601fcb30904857e3ffc3b4d54a617b6441.tar.gz
blog-64347c601fcb30904857e3ffc3b4d54a617b6441.zip
everything seems to be working now
Diffstat (limited to 'views')
-rw-r--r--views/index.ejs9
1 files changed, 6 insertions, 3 deletions
diff --git a/views/index.ejs b/views/index.ejs
index 69e8a9d..8c2fe43 100644
--- a/views/index.ejs
+++ b/views/index.ejs
@@ -4,16 +4,19 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Blog</title>
- <link rel="stylesheet" href="/css/master.css" type="text/css" media="screen" title="no title" charset="utf-8">
+ <link rel="stylesheet" href="/master.css" type="text/css" media="screen" title="no title" charset="utf-8">
</head>
<body>
<script>0</script>
<div class="sidenav">
<% data.mds.forEach(function(md) { %>
- <h2><%= md %></h2>
- <a href="#" target="_blank"><%= md %></a>
+ <ul>
+ <li><a href=<%= "/mds/"+md %> target="_self" rel="noreferrer noopener" type="text/html"><%= md %></a></li>
+ </ul>
<% }) %>
</div>
+ <div class="article">
<%- data.blogHttp %>
+ </div>
</body>
</html>