diff options
author | terminaldweller <thabogre@gmail.com> | 2021-04-09 13:04:02 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-04-09 13:04:02 +0000 |
commit | a3bc5c5231c476180651aa596ba4aa50fc878290 (patch) | |
tree | 79b79a4b7077620f747c8a52f372b3e8b0925232 /views | |
parent | Initial commit (diff) | |
download | blog-a3bc5c5231c476180651aa596ba4aa50fc878290.tar.gz blog-a3bc5c5231c476180651aa596ba4aa50fc878290.zip |
a simple node express ejs blog
Diffstat (limited to 'views')
-rw-r--r-- | views/index.ejs | 18 |
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> |