aboutsummaryrefslogtreecommitdiffstats
path: root/views/index.ejs
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-04-09 13:04:02 +0000
committerterminaldweller <thabogre@gmail.com>2021-04-09 13:04:02 +0000
commita3bc5c5231c476180651aa596ba4aa50fc878290 (patch)
tree79b79a4b7077620f747c8a52f372b3e8b0925232 /views/index.ejs
parentInitial commit (diff)
downloadblog-a3bc5c5231c476180651aa596ba4aa50fc878290.tar.gz
blog-a3bc5c5231c476180651aa596ba4aa50fc878290.zip
a simple node express ejs blog
Diffstat (limited to 'views/index.ejs')
-rw-r--r--views/index.ejs18
1 files changed, 18 insertions, 0 deletions
diff --git a/views/index.ejs b/views/index.ejs
new file mode 100644
index 0000000..f1f7bb1
--- /dev/null
+++ b/views/index.ejs
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <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">
+ </head>
+ <body>
+ <div class="sidenav">
+ <% data.mds.forEach(function(md) { %>
+ <h2><%= md %></h2>
+ <a href="#" target="_blank"><%= md %></a>
+ <% }) %>
+ </div>
+ <%- data.blogHttp %>
+ </body>
+</html>