diff options
author | terminaldweller <thabogre@gmail.com> | 2021-11-11 06:12:32 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-11-11 06:12:32 +0000 |
commit | 00301734db0e9492ac636f8e99db65b34542224d (patch) | |
tree | 142b7e8b9293b5536d1f7e5f5a717073eac37c1f /views | |
parent | http2 WIP (diff) | |
download | blog-00301734db0e9492ac636f8e99db65b34542224d.tar.gz blog-00301734db0e9492ac636f8e99db65b34542224d.zip |
changes the layout of the bloghttps
Diffstat (limited to 'views')
-rw-r--r-- | views/archive.ejs | 19 | ||||
-rw-r--r-- | views/index.ejs | 9 |
2 files changed, 21 insertions, 7 deletions
diff --git a/views/archive.ejs b/views/archive.ejs new file mode 100644 index 0000000..36191de --- /dev/null +++ b/views/archive.ejs @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width"> + <title>Archive</title> + <link rel="stylesheet" href="/master.css" type="text/css" media="screen" title="no title" charset="utf-8"> + </head> + <body> + <script>0</script> + <div class="article"> + <% data.mds.forEach(function(md) { %> + <ul> + <li><a href=<%= "/mds/"+md %> target="_self" rel="noreferrer noopener" type="text/html"><%= md %></a></li> + </ul> + <% }) %> + </div> + </body> +</html> diff --git a/views/index.ejs b/views/index.ejs index 8c2fe43..7ce83a8 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -8,15 +8,10 @@ </head> <body> <script>0</script> - <div class="sidenav"> - <% data.mds.forEach(function(md) { %> - <ul> - <li><a href=<%= "/mds/"+md %> target="_self" rel="noreferrer noopener" type="text/html"><%= md %></a></li> - </ul> - <% }) %> - </div> <div class="article"> <%- data.blogHttp %> + <a href="/about">About</a> + <a href="/archive">Archive</a> </div> </body> </html> |