diff options
author | terminaldweller <thabogre@gmail.com> | 2021-04-11 08:10:09 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-04-11 08:10:09 +0000 |
commit | 64347c601fcb30904857e3ffc3b4d54a617b6441 (patch) | |
tree | 42e338c15dde925174e4313c623bdb2edaa67941 /views/index.ejs | |
parent | added a dockerfile. fixed the relative path issues (diff) | |
download | blog-64347c601fcb30904857e3ffc3b4d54a617b6441.tar.gz blog-64347c601fcb30904857e3ffc3b4d54a617b6441.zip |
everything seems to be working now
Diffstat (limited to '')
-rw-r--r-- | views/index.ejs | 9 |
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> |