aboutsummaryrefslogtreecommitdiff
path: root/base.ejs
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-11-09 17:39:05 +0100
committerCharles Cabergs <me@cacharle.xyz>2020-11-09 17:39:05 +0100
commit9d2c650d7cadf57ecef3d5a1d39f5f98e298ec64 (patch)
treeed33badc6aa8305a5e6ea688a6a08e532c92d268 /base.ejs
parentf47491b3a89ba769760bb555ea72f1416cb0cb08 (diff)
downloadcacharle.xyz-templates.tar.gz
cacharle.xyz-templates.tar.bz2
cacharle.xyz-templates.zip
Trying to DRY the html with templatestemplates
Diffstat (limited to 'base.ejs')
-rw-r--r--base.ejs20
1 files changed, 20 insertions, 0 deletions
diff --git a/base.ejs b/base.ejs
new file mode 100644
index 0000000..4ddd460
--- /dev/null
+++ b/base.ejs
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>cacharle</title>
+ <meta charset="utf-8"/>
+ <meta name="description" content="Charles Cabergs's website"/>
+ <meta name="keywords" content="Programming"/>
+ <meta name="author" content="Charles Cabergs"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
+
+ <link rel="stylesheet" type="text/css" href="style.css"/>
+ <link rel="icon" type="image/png" href="favicon.png" />
+ </head>
+
+ <body>
+ <div id="page-wrapper">
+ <%- include(pageFilename, {}) %>
+ </div>
+ </body>
+</html>